> -----Ursprüngliche Nachricht-----
> Von: jean-frederic clere [mailto:jfcl...@gmail.com]
> Gesendet: Montag, 28. November 2016 14:41
> An: dev@httpd.apache.org
> Betreff: Problem trying to log in a directive
> 
> Hi,
> 
> I have noted it isn't possible to have a directive failing and something
> in the log once you fail in the second pass of the directive. See
> attached sources (to build & install bin/apxs -i -a -c mod_test.c
> )
> 
> I can see the debug and warning in the first pass (output to the
> console) but nothing in the second pass not even the ""A second pass
> error." error and it looks like httpd stops without error message...
> 
> Using strace I can see the following:
> +++
> 20943 write(2, "AH00526: Syntax error on line 11"..., 81) = 81
> 20943 write(2, "A second pass error.\n", 21) = 21

Which means it should be written to the main error log which stderr should 
point to.
Maybe you should check where fd 2 output gets to in your case.

Regards

Rüdiger

Reply via email to