245d163912
Conflicts: main.go models.go
15 lignes
406 o
Go
15 lignes
406 o
Go
package config
|
|
|
|
// Constants for logger.
|
|
const (
|
|
AccessLogFilePath = "log/access"
|
|
AccessLogFileExtension = ".txt"
|
|
AccessLogMaxSize = 5 // megabytes
|
|
AccessLogMaxBackups = 7
|
|
AccessLogMaxAge = 30 //days
|
|
ErrorLogFilePath = "log/error"
|
|
ErrorLogFileExtension = ".json"
|
|
ErrorLogMaxSize = 10 // megabytes
|
|
ErrorLogMaxBackups = 7
|
|
ErrorLogMaxAge = 30 //days
|
|
)
|