[global] log_dir = "./data/log/" debug_log = true # The format of time display. e.g. "2006-01-02 15:04:05" # It is a strange way to express the format, but it is NOT MY FAULT. # It is just the STRANGE feature of GoLang. # See also https://golang.org/pkg/time/#Time.Format time_format = "2006-01-02 15:04:05.999999999 -0700 MST" # [system] For system log # [mclauncher.stdout] For minecraft server stdout log # [mclauncher.stderr] For minecraft server stderr log # [ssh] For ssh server log [system] # Filename is the file to write logs to. Backup log files will be retained # in the same directory. Filename = "System.log" #MaxSize is the maximum size in megabytes of the log file before it gets # rotated. MaxSize = 20 # MaxAge is the maximum number of days to retain old log files based on the # timestamp encoded in their filename. Note that a day is defined as 24 # hours and may not exactly correspond to calendar days due to daylight # savings, leap seconds, etc. The default is not to remove old log files # based on age. MaxAge = 365 # MaxBackups is the maximum number of old log files to retain. The default # is to retain all old log files (though MaxAge may still cause them to get # deleted.) MaxBackups = 300 # LocalTime determines if the time used for formatting the timestamps in # backup files is the computer's local time. The default is to use UTC # time. LocalTime = true # Compress determines if the rotated log files should be compressed # using gzip. Compress = true [mclauncher.stdout] Filename = "MCLauncherOut.log" MaxSize = 20 MaxAge = 365 MaxBackups = 300 LocalTime = true Compress = true [mclauncher.stderr] Filename = "MCLauncherErr.log" MaxSize = 20 MaxAge = 365 MaxBackups = 300 LocalTime = true Compress = true [ssh] Filename = "SSH.log" MaxSize = 20 MaxAge = 365 MaxBackups = 300 LocalTime = true Compress = true