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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
