Allow setting debug as loglevel via occ log_manage (#24834)
This commit is contained in:
parent
12b482b976
commit
0e3a0e0fdb
|
@ -78,7 +78,8 @@ class Manage extends Command {
|
|||
$toBeSet['log_type'] = $backend;
|
||||
}
|
||||
|
||||
if ($level = $input->getOption('level')) {
|
||||
$level = $input->getOption('level');
|
||||
if ($level !== null) {
|
||||
if (is_numeric($level)) {
|
||||
$levelNum = $level;
|
||||
// sanity check
|
||||
|
|
Loading…
Reference in New Issue