Bumped logging for debugging.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 11 months ago
parent 476b285607
commit de4bb0d001
  1. 5
      tools/anvil-safe-start
  2. 2
      tools/scancore

@ -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))

@ -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});

Loading…
Cancel
Save