mirror of
https://github.com/maubot/maubot
synced 2025-08-29 19:00:39 +00:00
Fix log file name format and remove old debug prints
This commit is contained in:
parent
2a0106da26
commit
a77084b12e
6 changed files with 5 additions and 8 deletions
|
@ -82,7 +82,7 @@ func (lc *LogConfig) MarshalYAML() (interface{}, error) {
|
|||
func CreateLogConfig() LogConfig {
|
||||
return LogConfig{
|
||||
Directory: "./logs",
|
||||
FileNameFormat: "%[1]s-%02[2]d.log",
|
||||
FileNameFormat: "{{.Date}}-{{.Index}}.log",
|
||||
TimestampFormat: "Jan _2, 2006 15:04:05",
|
||||
FileMode: 0600,
|
||||
FileDateFormat: "2006-01-02",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue