diff --git a/tools/anvil-safe-start b/tools/anvil-safe-start index 34b32f4b..86072904 100755 --- a/tools/anvil-safe-start +++ b/tools/anvil-safe-start @@ -44,6 +44,11 @@ $anvil->Get->switches({list => [], man => $THIS_FILE}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => $anvil->data->{switches}}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 2, key => "log_0115", variables => { program => $THIS_FILE }}); +### TODO: Remove before PR! +# Force up the logging. +$anvil->Log->level({set => 2}); +$anvil->Log->secure({set => 1}); + # Make sure we're running as 'root' # $< == real UID, $> == effective UID if (($< != 0) && ($> != 0)) diff --git a/tools/scancore b/tools/scancore index e4e842d8..1743dce7 100755 --- a/tools/scancore +++ b/tools/scancore @@ -143,7 +143,7 @@ while(1) if ($anvil->data->{sys}{database}{connections}) { # Run the normal tasks - $anvil->ScanCore->call_scan_agents(); + $anvil->ScanCore->call_scan_agents({debug => 2}); # Do post-scan analysis. $anvil->ScanCore->post_scan_analysis({debug => 2});