Hi there we have lot of user_code logs within our projects and no time to remove them all. Is there an easy way to disable the user_code output to the logfile? Thanks asked 28.10.2016 at 14:43 skilchenmann |
It is possible via Log4j API. But not in the log4jconfig.xml as the logger name is dynamic. The following class does what you want. You could create an AutoStartEventBean which runs periodically to ensure that this code is executed after a server start and also if a new PMV was deployed.
answered 02.11.2016 at 12:25 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 28.10.2016 at 14:43
Seen: 2,117 times
Last updated: 02.11.2016 at 12:25