Apache 2.2.3 , error-log format , cgi - stderr

Apache 2.2.3 , error-log format , cgi - stderr

am 20.09.2007 09:10:38 von Mariusz

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

Re: Apache 2.2.3 , error-log format , cgi - stderr

am 20.09.2007 09:13:29 von unknown

Post removed (X-No-Archive: yes)

Re: Apache 2.2.3 , error-log format , cgi - stderr

am 20.09.2007 09:40:08 von 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

Re: Apache 2.2.3 , error-log format , cgi - stderr

am 20.09.2007 09:51:29 von unknown

Post removed (X-No-Archive: yes)