How do I separate the server.log into multiple log files with a specific log level or range
Issue
- How do I separate the server.log into multiple log files with a specific log level or range ?
- I would like to separate server.log to two files with log level, for instance:
- server_info.log: TRACE, DEBUG, INFO
- server.log: WARN, ERROR
Environment
- JBoss Enterprise Application Platform (EAP)
- log4j
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.