startup.pl: use ErrorLog file from Apache2 config
requires Apache2::Log from libapache2-mod-perl2
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
use lib qw(/home/radio/calcms/calcms/);
|
||||
use lib qw(/home/calcms/lib/calcms/);
|
||||
|
||||
use Apache2::Log;
|
||||
local *CORE::GLOBAL::warn = \&Apache2::ServerRec::warn;
|
||||
local $SIG{__WARN__} = \&Apache2::ServerRec::warn;
|
||||
# ^ use ErrorLog file set at Apache2 configuration
|
||||
# see https://perl.apache.org/docs/2.0/api/Apache2/Log.html for details
|
||||
|
||||
use Data::Dumper;
|
||||
#use Apache::DBI();
|
||||
use Time::Local();
|
||||
|
||||
Reference in New Issue
Block a user