You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/15 16:05:00 UTC

[jira] [Reopened] (LOG4J2-2820) updating the log4j configuration (log4j.properties) dynamically at runtime

     [ https://issues.apache.org/jira/browse/LOG4J2-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers reopened LOG4J2-2820:
---------------------------------

> updating the log4j configuration (log4j.properties) dynamically at runtime 
> ---------------------------------------------------------------------------
>
>                 Key: LOG4J2-2820
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2820
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Configuration
>            Reporter: Ananda Reddy C
>            Priority: Blocker
>
> Hi Team,
> Issue:- when we wanted to troubleshoot the issue, we enable the logging mode from WARN to eaither DEBUG or INFO and this change is required application restart.
> Now we are migrating our application to cloud,  in the cloud environment, we will not have access to restart the application when there is a change in log4j configuration (log4j.properties).
> We wanted to understand is there a way to update the log4 configuration i.e. log4j.properties during run-time dynamically? so that we can avoid restarting the application.
> kindly let us know. if you have documentation for the above please point us or if you have apis to achieve the above please point us.
>  
> Kindly note that currently we are using the log4j version  1.2.13.
>  
> Thanks,
> Ananda Reddy C



--
This message was sent by Atlassian Jira
(v8.3.4#803005)