Skip to content

Commit

Permalink
Set default log level (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer authored Sep 8, 2021
1 parent 9b20552 commit 904ff29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/appkernel_reports_manager
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ if($logLevel >= Log::DEBUG) {
print("\t" . $arg . ' => ' . $value . "\n");
}
}
if ($logLevel === -1) {
$logLevel = Log::NOTICE;
}
// ================================================================================
// Logger configuration.
$conf = array(
Expand Down
4 changes: 4 additions & 0 deletions bin/xdmod-akrr-ingestor
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ if ($ingestingConfig['sinceLastLoadTime'] !== null) {
}
}

if ($logLevel === -1) {
$logLevel = Log::NOTICE;
}

$conf = array(
'file' => false,
'mail' => false,
Expand Down

0 comments on commit 904ff29

Please sign in to comment.