logrotate and log4j causing zero / null bytes at the front of logfile
Issue
logrotate creates a server.log file fill with zero (NUL) value characters the size of the old log, how can we get this to work?
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
- 5.x
- 4.x
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.
