Is it safe to delete old log files without restarting JBoss?
Issue
The production JBoss server log directory is configured to create daily a new log file. We decided to archive monthly these files and store them on a disk. As a second step we would need to remove from the production JBoss server the log files that we archived previously. Could I remove the log files from the JBoss server while this is up and running or do I need to shutdown first the server in order to remove these files?
Environment
- JBoss
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.
