fix(cr): missing error_log level in the global config

pull/399/head
Kobi Meirson 2022-10-20 15:19:41 +03:00
parent c834fff8e3
commit e2ef52d63d
No known key found for this signature in database
GPG Key ID: 5D66F732B037CDE1
1 changed files with 2 additions and 1 deletions

View File

@ -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']);
}