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
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
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
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
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
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
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
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.
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
* 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
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
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).
* 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
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
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
'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 ..
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
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
> 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'
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
* 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
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
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
23 matches
Mail list logo