diff --git a/scripts/da b/scripts/da index 3c00a65..71ea5a2 100755 --- a/scripts/da +++ b/scripts/da @@ -8,6 +8,7 @@ use lib 'blib/lib'; use Simba::DA; my $now = strftime('%Y-%m-%dT%H:%M:%S', localtime()); +mkdir('/var/log/simba'); open(my $log, '>>', '/var/log/simba/da.log.' . $now); $log->autoflush(1); my $da = Simba::DA->new({fh_log => $log});