Re: logging into stderr using mod_cgid

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

 



I have submitted a bug report about this 1-2 years ago and
decided to check this issue today in otder to switch to
worker mpm.
The problem is that when using cgid and print to stderr,
say, like this
fprintf(stderr,"Hello error log!");

the messages goes into main server log, not into virtual server
log.

When using just mod_cgi the messages goes, as it should,
into virtual host error log.

The problem is that if server runs tons of virtual hosts (each
is a separate client) none of virtual hosts users can debug their
cgi programs.

Any idea on this issue?
Octavian Rasnita wrote:
It happends the same when using Catalyst framework with mod_perl.

Catalyst's debug messages go to the virtualhost log file, but the
errors go to the main server's log file.

Octavian


So, any idea how to fix it? Is it even fixable?

--
Regards,
Artem


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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