Hello Arulkumar,

What method are you using to change the logger's level? The
`Configurator.setLevel` methods are probably the most appropriate
ones.
Can you provide a minimal example of code that does not work?

Piotr

On Wed, 23 Mar 2022 at 06:43, Arulkumar Ponnusamy <parul....@gmail.com> wrote:
>
>  Hi all,
> I am currently working on upgrading my log4j framework from 1.x to
> 2.x(latest) and my application is deployed in the wildfly. As part of our
> application, we provide the provision to change the log level at runtime.
> Am facing a peculiar issue where the logging is working(changing the log
> level) with the 2.17.1 version whereas the same is not working with 2.17.2.
> The change of log level works only if you change it via log4j2.properties
> files.
>
> any pointers on solving this would be great help
> Thanks
> Arulkumar Ponnusamy

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

Reply via email to