You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by EDMONDO SENA <ed...@gmail.com> on 2020/03/17 10:35:38 UTC

log4j.configDebug in Log4j 2

Hello,

I need know if the configuration below for log4j As it has been migrated in Log4j 2?
In particular using log4j.configDebug?

Thanks.
//Edmondo.

CONFIG_DEBUG_KEY
public static final String CONFIG_DEBUG_KEY
Deprecated. Use DEBUG_KEY instead.
Defining this value makes log4j components print log4j-internal debug statements to System.out.
The value of this string is log4j.configDebug.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: log4j.configDebug in Log4j 2

Posted by Matt Sicker <bo...@gmail.com>.
Set the system property log4j2.debug to true. Or set the status=“debug”
flag in the root configuration element in the config file.

On Tue, Mar 17, 2020 at 05:35 EDMONDO SENA <ed...@gmail.com> wrote:

>
> Hello,
>
> I need know if the configuration below for log4j As it has been migrated
> in Log4j 2?
> In particular using log4j.configDebug?
>
> Thanks.
> //Edmondo.
>
> CONFIG_DEBUG_KEY
> public static final String CONFIG_DEBUG_KEY
> Deprecated. Use DEBUG_KEY instead.
> Defining this value makes log4j components print log4j-internal debug
> statements to System.out.
> The value of this string is log4j.configDebug.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
> --
Matt Sicker <bo...@gmail.com>