mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LScli: add --trace parameter
This commit is contained in:
parent
8a1eefc5e3
commit
a7d202e5ff
1 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,7 @@ class LScli extends LSlog_staticLoggerClass {
|
|||
echo " -q|--quiet Quiet mode: nothing log on console (but keep other logging handler)\n";
|
||||
echo " -d|--debug Debug mode (set log level to DEBUG, default: WARNING)\n";
|
||||
echo " -v|--verbose Verbose mode (set log level to INFO, default: WARNING)\n";
|
||||
echo " --trace Trace mode (set log level to TRACE, default: WARNING)\n";
|
||||
echo " -C|--console Log on console with same log level as other handlers (otherwise, log only errors)\n";
|
||||
echo " -S|--ldap-server Connect to a specific LDAP server: you could specify a LDAP\n";
|
||||
echo " server by its declaration order in configuration (default:\n";
|
||||
|
@ -160,6 +161,9 @@ class LScli extends LSlog_staticLoggerClass {
|
|||
case '--verbose':
|
||||
$log_level = 'INFO';
|
||||
break;
|
||||
case '--trace':
|
||||
$log_level = 'TRACE';
|
||||
break;
|
||||
case '-q':
|
||||
case '--quiet':
|
||||
$quiet = true;
|
||||
|
@ -398,6 +402,7 @@ class LScli extends LSlog_staticLoggerClass {
|
|||
'-h', '--help',
|
||||
'-d', '--debug',
|
||||
'-v', '--verbose',
|
||||
'--trace',
|
||||
'-q', '--quiet',
|
||||
'-C', '--console',
|
||||
'-S', '--ldap-server',
|
||||
|
|
Loading…
Reference in a new issue