mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +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 " -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 " -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 " -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 " -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 " -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";
|
echo " server by its declaration order in configuration (default:\n";
|
||||||
|
@ -160,6 +161,9 @@ class LScli extends LSlog_staticLoggerClass {
|
||||||
case '--verbose':
|
case '--verbose':
|
||||||
$log_level = 'INFO';
|
$log_level = 'INFO';
|
||||||
break;
|
break;
|
||||||
|
case '--trace':
|
||||||
|
$log_level = 'TRACE';
|
||||||
|
break;
|
||||||
case '-q':
|
case '-q':
|
||||||
case '--quiet':
|
case '--quiet':
|
||||||
$quiet = true;
|
$quiet = true;
|
||||||
|
@ -398,6 +402,7 @@ class LScli extends LSlog_staticLoggerClass {
|
||||||
'-h', '--help',
|
'-h', '--help',
|
||||||
'-d', '--debug',
|
'-d', '--debug',
|
||||||
'-v', '--verbose',
|
'-v', '--verbose',
|
||||||
|
'--trace',
|
||||||
'-q', '--quiet',
|
'-q', '--quiet',
|
||||||
'-C', '--console',
|
'-C', '--console',
|
||||||
'-S', '--ldap-server',
|
'-S', '--ldap-server',
|
||||||
|
|
Loading…
Reference in a new issue