SHIMODA Piro Hiroshi
null+****@clear*****
Mon Oct 6 17:57:07 JST 2014
SHIMODA "Piro" Hiroshi 2014-10-06 17:57:07 +0900 (Mon, 06 Oct 2014) New Revision: 209b6c197a14f512f056505bcad293a5a6a64946 https://github.com/droonga/droonga-http-server/commit/209b6c197a14f512f056505bcad293a5a6a64946 Message: Output log levels with the style same to droonga-engine Modified files: bin/droonga-http-server-configure lib/server-options.js Modified: bin/droonga-http-server-configure (+2 -2) =================================================================== --- bin/droonga-http-server-configure 2014-10-06 17:44:58 +0900 (1d29788) +++ bin/droonga-http-server-configure 2014-10-06 17:57:07 +0900 (613e45b) @@ -279,8 +279,8 @@ function tryResetConfigs() { .then(function() { return setStringOption('accessLogFile', 'path to the access log file'); }) .then(function() { return setStringOption('systemLogFile', 'path to the system log file'); }) .then(function() { return setStringOption('systemLogLevel', - 'log level for the system log (one of ' + - 'silly|debug|verbose|info|warn|error)'); }) + 'log level for the system log (' + + 'silly,debug,verbose,info|warn,error)'); }) .then(function() { return setIntegerOption('cacheSize', 'maximum size of the response cache'); }) .then(function() { return setBooleanOption('enableTrustProxy', 'enable "trust proxy" configuration'); }) .then(function() { return setStringOption('environment', 'environment'); }) Modified: lib/server-options.js (+2 -2) =================================================================== --- lib/server-options.js 2014-10-06 17:44:58 +0900 (9091be8) +++ lib/server-options.js 2014-10-06 17:57:07 +0900 (c337fbb) @@ -98,8 +98,8 @@ function define() { options.systemLogFileGiven = true; })); add('--system-log-level <level>', - 'Log level for the system log. Possible values: ' + - 'silly|debug|verbose|info|warn|error' + + 'Log level for the system log. ' + + '[silly,debug,verbose,info|warn,error]' + '(' + options.systemLogLevel + ')', generateOptionHandler(function() { options.systemLogLevelGiven = true; -------------- next part -------------- HTML����������������������������... Download