Commit 99a22765 authored by Dietmar Maurer's avatar Dietmar Maurer

log errors from apache chilinit()

it seems that apache doesn not log error to the error log, so we catch
them an log to syslog
parent 01199d40
......@@ -34,10 +34,13 @@ use PVE::RPCEnvironment;
sub childinit {
syslog ('info', "Starting new child $$");
eval {
PVE::INotify::inotify_init();
PVE::RPCEnvironment->init('pub');
PVE::Config::inotify_init();
};
my $err = $@;
syslog('err', $err) if $err;
}
sub childexit {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment