This is a discussion on Apache 2.2.3 , error-log format , cgi - stderr within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello. Sorry for my english.. I have a problem with logging cgi's stderr . On my configuration (Apache 2.3....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello.
Sorry for my english.. I have a problem with logging cgi's stderr . On my configuration (Apache 2.3.20 running on opensuse 10.2) all error messages from cgi goes to Apache's error_log. But apache write it in strange way ,each line of apache's log contains only one character from cgi error message , so each message is divided to many lines in error log. My question is: 1) can i modify somehow number of characters from cgi error message stored in error_log ? 2) is it possible to create CustomLog which contains only cgi's error messages? 3) I tried to use ScriptLog definition . But log file defined with this is empty , My cgi's are stored in suse default location "/srv/www/cgi-bin/" and mod_log is loaded. Is any more configuration option needed ? Thanks in advance. Mariusz |
|
|||
|
Davide Bianchi :
>> But apache write it in strange way ,each line of >> apache's log contains only one character from cgi error message, > > And that's _not_ normal, can you alter your CGIs and write the eventual > error on a different log file on your own? something make me think that > is not the way apache handles the errors, but the way your cgi send them > that make apache fuzzy. > Thanks for fast answer. If i will not have any other option i will have to do it but this cgi programs are quiet complicated and if exist any other option to have good error messages i will prefer to don't touch them . All this programs run before on Suse 8.0 and Apache 1.3.26 and there error messages was correctly stored in error_log. Do you know what can be a reason why this information not going to ScriptLog ? Mariusz |
| Thread Tools | |
| Display Modes | |
|
|