You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marco Hald <ma...@usu.com> on 2024/03/01 13:37:29 UTC

[users@httpd] Default of ErrorLogFormat

Hi,

How do I know what the Default of ErrorLogFormat is when it is not configured?
I found this commit https://github.com/apache/httpd/commit/70be0f7a073f54474461c22ba8ca943bf8e0373a where it was introduced but I'm not skilled enough to get the default from it.
I already tried apache2ctl -DDUMP_CONFIG to get it that way, but this only lists changed values like ErrorLog

Mit freundlichen Grüßen / Best regards,​
Marco Hald
Cloud Engineer
USU GmbH
Charlottenburger Allee 60
52068 Aachen
marco.hald@usu.com
www.usu.com
USU GmbH, Sitz: Möglingen, Registergericht und Handelsregisternummer: Amtsgericht Stuttgart HRB 764549,
​Geschäftsführer: Bernhard Oberschmidt, Dr. Benjamin Strehl



Re: [users@httpd] Default of ErrorLogFormat

Posted by Rainer Jung <ra...@kippdata.de>.
I hope the docs are correct:

https://httpd.apache.org/docs/2.4/en/mod/core.html#errorlogformat

look for "#Example (default format for threaded MPMs)".

Best regards,

Rainer

Am 01.03.24 um 17:12 schrieb Vladimir Chlup:
> Hi,
> 
> In the referenced commit, there is a function `do_errorlog_default`
> (in log.c:846) which should be used by default. Also, the if starting
> at log.c:1174 might be helpful.
> 
> Regards,
> Vladimir Chlup
> 
> On Fri, Mar 1, 2024 at 2:48 PM Marco Hald <ma...@usu.com> wrote:
>>
>> Hi,
>>
>> How do I know what the Default of ErrorLogFormat is when it is not configured?
>> I found this commit https://github.com/apache/httpd/commit/70be0f7a073f54474461c22ba8ca943bf8e0373a where it was introduced but I'm not skilled enough to get the default from it.
>> I already tried apache2ctl -DDUMP_CONFIG to get it that way, but this only lists changed values like ErrorLog
>>
>> Mit freundlichen Grüßen / Best regards,
>> Marco Hald
>> Cloud Engineer
>> USU GmbH
>> Charlottenburger Allee 60
>> 52068 Aachen
>> marco.hald@usu.com
>> www.usu.com
>> USU GmbH, Sitz: Möglingen, Registergericht und Handelsregisternummer: Amtsgericht Stuttgart HRB 764549,
>> Geschäftsführer: Bernhard Oberschmidt, Dr. Benjamin Strehl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Default of ErrorLogFormat

Posted by Vladimir Chlup <vc...@redhat.com>.
Hi,

In the referenced commit, there is a function `do_errorlog_default`
(in log.c:846) which should be used by default. Also, the if starting
at log.c:1174 might be helpful.

Regards,
Vladimir Chlup

On Fri, Mar 1, 2024 at 2:48 PM Marco Hald <ma...@usu.com> wrote:
>
> Hi,
>
> How do I know what the Default of ErrorLogFormat is when it is not configured?
> I found this commit https://github.com/apache/httpd/commit/70be0f7a073f54474461c22ba8ca943bf8e0373a where it was introduced but I'm not skilled enough to get the default from it.
> I already tried apache2ctl -DDUMP_CONFIG to get it that way, but this only lists changed values like ErrorLog
>
> Mit freundlichen Grüßen / Best regards,
> Marco Hald
> Cloud Engineer
> USU GmbH
> Charlottenburger Allee 60
> 52068 Aachen
> marco.hald@usu.com
> www.usu.com
> USU GmbH, Sitz: Möglingen, Registergericht und Handelsregisternummer: Amtsgericht Stuttgart HRB 764549,
> Geschäftsführer: Bernhard Oberschmidt, Dr. Benjamin Strehl
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



-- 
Vladimír Chlup


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org