Forcing anvil-daemon to run with log level 2 and secure logging.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 10 months ago
parent 091ded803c
commit 5517e43a81
  1. 2
      tools/anvil-daemon

@ -54,6 +54,8 @@ $( = $);
# NOTE: Setting 'log_level' and 'log_secure' here will get overridden in the main lopp. Use the Log methods
# in the loop as well to override defaults in code.
my $anvil = Anvil::Tools->new();
$anvil->Log->level({set => 2});
$anvil->Log->secure({set => 1});
# Make sure we're running as 'root'
# $< == real UID, $> == effective UID

Loading…
Cancel
Save