Update docs and comments to remove macaron (#14491)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2021-01-29 16:35:30 +01:00
1 parent 25b6255b92
commit 0cd87d64ff
29 files changed
+32 -78

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ func newRouterLogService() {
// Allow [log] DISABLE_ROUTER_LOG to override [server] DISABLE_ROUTER_LOG
DisableRouterLog = Cfg.Section("log").Key("DISABLE_ROUTER_LOG").MustBool(DisableRouterLog)
if !DisableRouterLog && RedirectMacaronLog {
if !DisableRouterLog {
options := newDefaultLogOptions()
options.filename = filepath.Join(LogRootPath, "router.log")
options.flags = "date,time" // For the router we don't want any prefixed flags