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----- Original Message ----- From: "Artem Kuchin" <matrix@xxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Sunday, October 14, 2007 8:13 PM Subject: logging into stderr using mod_cgid
Hello! 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? -- 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
--------------------------------------------------------------------- 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