mod_cgi, ScriptLog and stderr of cgi scripts

2014-02-27 Thread Jan Kaluža
Hi, documentation of ScriptLog says "If given, any CGI errors are logged into the filename given as argument". I have found out that errors printed by cgi script to stderr are not logged into ScriptLog and are just in error_log. I'm not sure if that's intended behaviou

Re: ScriptLog

2010-10-06 Thread Gregg L. Smith
t 10 years now. Please take of radar. Regards, Gregg Stefan Fritsch wrote: On Sunday 26 September 2010, Rich Bowen wrote: Another question on this thread - is ScriptLog also going away? It hasn't been on my radar so far. Should it? pros: - per dir config instead of per vhost - possibl

Re: ScriptLog

2010-09-26 Thread Rich Bowen
On Sep 25, 2010, at 8:08 PM, Stefan Fritsch wrote: On Sunday 26 September 2010, Rich Bowen wrote: Another question on this thread - is ScriptLog also going away? It hasn't been on my radar so far. Should it? pros: - per dir config instead of per vhost - possibly finer control

ScriptLog

2010-09-25 Thread Stefan Fritsch
On Sunday 26 September 2010, Rich Bowen wrote: > Another question on this thread - is ScriptLog also going away? It hasn't been on my radar so far. Should it? pros: - per dir config instead of per vhost - possibly finer control with different trace levels cons: - data would use more

Re: ScriptLog

2003-09-09 Thread Mads Toftum
On Sat, Sep 06, 2003 at 08:19:39AM -0700, Ian Holsman wrote: > I guess the other one I'd like to see is rewritelogging/loglevel from > inside a .htaccess file. > It's a real bitch trying to debug rewrite rules inside this (and in > rules inside of directory/location blocks) The worst thing about

RE: ScriptLog

2003-09-08 Thread Dietz, Phil E.
If we ever get the cgi-stdout-stdin-stderr read deadlocking issue fixed... I did some initial work to make mod_cgi allow 3rd party modules to register StderrAndOutput filters (techically, ScriptLog is itsself a StderrAndOutput filter and is added as the default). So you could have a

Re: ScriptLog

2003-09-08 Thread Manoj Kasichainula
On Sun, Sep 07, 2003 at 05:38:56PM -0400, Cliff Woolley wrote: > On Sun, 7 Sep 2003, Manoj Kasichainula wrote: > > > If it's only for debugging, can't CGI writers just add a line to their > > code to rebind stderr to a file? > > Only if the error is output from the script as opposed to a compilat

Re: ScriptLog

2003-09-07 Thread Cliff Woolley
On Sun, 7 Sep 2003, Manoj Kasichainula wrote: > If it's only for debugging, can't CGI writers just add a line to their > code to rebind stderr to a file? Only if the error is output from the script as opposed to a compilation failure or other interpreter weirdness.

Re: ScriptLog

2003-09-07 Thread Manoj Kasichainula
On Sat, Sep 06, 2003 at 04:57:25PM -0400, Cliff Woolley wrote: > On Sat, 6 Sep 2003, Astrid Keßler wrote: > > > +1 for ScriptLog and RewriteLog(Level), although I'm not sure this is > > easy to implement. As I know, all log files are opend at server start. > > Allow

Re: ScriptLog

2003-09-07 Thread André Malo
* Glenn wrote: > On Sat, Sep 06, 2003 at 02:38:34PM +0200, Andr? Malo wrote: >> * Cliff Woolley wrote: >> >>> It's too bad you can't set the ScriptLog in a per-dir context -- that >>> would allow an individual user (aka myself) to debug their own cg

Re: ScriptLog

2003-09-07 Thread Glenn
On Sat, Sep 06, 2003 at 02:38:34PM +0200, Andr? Malo wrote: > * Cliff Woolley wrote: > > > It's too bad you can't set the ScriptLog in a per-dir context -- that > > would allow an individual user (aka myself) to debug their own cgi scripts > > into their ow

Re: ScriptLog

2003-09-07 Thread Astrid Keßler
the server > config makes no sense. > It'd be really nice to have the possibility to > enable script/rewrite logging 'on the fly' without any changes to the > config, besides a AllowOverride option (and with the downside of > opening/closing the logfile per request).

Re: ScriptLog

2003-09-07 Thread Thom May
* Ian Holsman ([EMAIL PROTECTED]) wrote : > Cliff Woolley wrote: > >It's too bad you can't set the ScriptLog in a per-dir context -- that > >would allow an individual user (aka myself) to debug their own cgi scripts > >into their own error log even though ther

Re: ScriptLog

2003-09-06 Thread Cliff Woolley
ix it on apache.org since I've got root access now, but it just occurred to me that it was probably a feature somebody somewhere had probably wanted. > Or do you possibly think about something similar to the following: > > ScriptAlias /cgi-bin/ ... > > ScriptLog ... > S

Re: ScriptLog

2003-09-06 Thread Ian Holsman
Astrid Keßler wrote: Cliff wrote: On Sat, 6 Sep 2003, Astrid Keßler wrote: +1 for ScriptLog and RewriteLog(Level), although I'm not sure this is easy to implement. As I know, all log files are opend at server start. Allow directory based logging would mean to open and close log file

Re: ScriptLog

2003-09-06 Thread Erik Abele
'on the fly' without any changes to the config, besides a AllowOverride option (and with the downside of opening/closing the logfile per request). Or do you possibly think about something similar to the following: ScriptAlias /cgi-bin/ ... ScriptLog ... ScriptLogBuffer ..

Re: ScriptLog

2003-09-06 Thread Astrid Keßler
Cliff wrote: > On Sat, 6 Sep 2003, Astrid Keßler wrote: >> +1 for ScriptLog and RewriteLog(Level), although I'm not sure this is >> easy to implement. As I know, all log files are opend at server start. >> Allow directory based logging would mean to open and clos

Re: ScriptLog

2003-09-06 Thread Cliff Woolley
On Sat, 6 Sep 2003, Astrid Keßler wrote: > +1 for ScriptLog and RewriteLog(Level), although I'm not sure this is > easy to implement. As I know, all log files are opend at server start. > Allow directory based logging would mean to open and close log files per > request. Yes, i

Re: ScriptLog

2003-09-06 Thread Astrid Keßler
> I guess the other one I'd like to see is rewritelogging/loglevel from > inside a .htaccess file. > It's a real bitch trying to debug rewrite rules inside this (and in > rules inside of directory/location blocks) +1 for ScriptLog and RewriteLog(Level), although I'

Re: ScriptLog

2003-09-06 Thread Ian Holsman
Cliff Woolley wrote: It's too bad you can't set the ScriptLog in a per-dir context -- that would allow an individual user (aka myself) to debug their own cgi scripts into their own error log even though there's no global ScriptLog enabled. --Cliff Hey Cliff, I guess the other one

Re: ScriptLog

2003-09-06 Thread André Malo
* Cliff Woolley wrote: > It's too bad you can't set the ScriptLog in a per-dir context -- that > would allow an individual user (aka myself) to debug their own cgi scripts > into their own error log even though there's no global ScriptLog enabled. +1 for per-dir with AllowOverride Options. nd

ScriptLog

2003-09-05 Thread Cliff Woolley
It's too bad you can't set the ScriptLog in a per-dir context -- that would allow an individual user (aka myself) to debug their own cgi scripts into their own error log even though there's no global ScriptLog enabled. --Cliff

[Apache-1.3]: Why is ScriptLog context only "server config"?

2002-01-25 Thread Martin Kraemer
Was there a reasoning behind the fact that the ScriptLog* directives can only be set in the global scope? I cannot, for instance, say: Alias /cgi-bin /usr/local/apache/cgi-bin Alias /cgi-dbg /usr/local/apache/cgi-bin ScriptLog /tmp/cgi-dbg.log ... to enable debugging only for