fix(cr): missing error_log level in the global config
parent
c834fff8e3
commit
e2ef52d63d
|
@ -116,7 +116,8 @@ export default (domains, global) => {
|
|||
config.http.push(['access_log', 'off']);
|
||||
}
|
||||
if (global.logging.errorLog.computed) {
|
||||
config.http.push(['error_log', global.logging.errorLogPath.computed.trim()]);
|
||||
config.http.push(['error_log', global.logging.errorLogPath.computed.trim() +
|
||||
` ${global.logging.errorLogLevel.computed}`]);
|
||||
} else {
|
||||
config.http.push(['error_log', '/dev/null']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue