Moved user log files to /var/local/log
authorAndrew DeFaria <Andrew@DeFaria.com>
Fri, 26 Feb 2021 16:43:04 +0000 (08:43 -0800)
committerAndrew DeFaria <Andrew@DeFaria.com>
Fri, 26 Feb 2021 16:43:04 +0000 (08:43 -0800)
bin/announceEmail.pl
bin/checkdns
bin/cleantmp.pl
bin/tunnel.pl

index f90426e..07cb6db 100755 (executable)
@@ -292,7 +292,7 @@ if ($opts{daemon}) {
 } # if
 
 $log = Logger->new(
-  path        => '/var/log',
+  path        => '/var/local/log',
   name        => "$Logger::me.$opts{name}",
   timestamped => 'yes',
   append      => 'yes',
index 9c76e0c..8a5187b 100755 (executable)
@@ -73,7 +73,7 @@ my ($log, $initial_sleep);
 my %opts = (
   host        => 'google.com',
   sleep       => 15,
-  logpath     => '/var/log',
+  logpath     => '/var/local/log',
   usage       => sub { Usage },
   verbose     => sub { set_verbose },
   debug       => sub { set_debug },
index e0c6961..c7b1b19 100755 (executable)
@@ -82,7 +82,7 @@ my %opts = (
   debug   => sub { set_debug },
   tmp     => File::Spec->tmpdir(),
   conf    => "$FindBin::Bin/../etc/$script.conf",
-  logpath => '/var/log',
+  logpath => '/var/local/log',
   sleep   => 60,
 );
 
index 86cf076..775eaf2 100755 (executable)
@@ -188,7 +188,7 @@ $opts{daemon} = 0 if defined $DB::OUT;
 use warnings;
 
 $log = Logger->new(
-  path        => '/var/log',
+  path        => '/var/local/log',
   name        => "$Logger::me",
   timestamped => 'yes',
   append      => 'yes',