Apache 2.2.3 , error-log format , cgi - stderr

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....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2007
Mariusz
 
Posts: n/a
Default Apache 2.2.3 , error-log format , cgi - stderr

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
  #2 (permalink)  
Old 09-20-2007
Mariusz
 
Posts: n/a
Default Re: Apache 2.2.3 , error-log format , cgi - stderr

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0