STDERR issue with Apache 2.0.4 under mod_perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




The configuration in httpd.conf look like this

<Perl>
    my $app_home     = $ENV{APPS_HOME};
    my $config            = ConfigLoader::include("$app_home/conf/myapp.pl");   
    my $elog               = '"| rotatelogs '. $config->{log_file} . '%y%m%d 1M "';
    $ErrorLog              = $elog ;
  </Perl>
Where the $config->{log_file}  is /nfs/private/user/sns/log/myapps.myserver-44088.log

But when I checked up the fd 1 of my request process(i suppose this is STDERR) it points to /nfs/private/user/sns/log/
ursforms.myserver-44088.log . Why so in httpd.conf i configured $ErrorLog to a pipe and never configured STDERR  how  STDERR automatically picks up /nfs/private/user/sns/log/myapps.myserver-44088.log for STDERR

--Shibi Ns--

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux