I noticed all my old logs are disappeared after restarting the confluence service, do you know how to prevent it from happening? I need those logs for debugging, could you please help, thanks!
OS version: CentOS Linux release 7.5.1804 (Core)
Welcome to Atlassian Community. It's nice to have you join us!
Your logs shouldn't be completely deleted after a restart. Could you let me know the location where you noticed this is happening for your site?
I'd also like to know how you are running Confluence. Could you let me know what type of server you're running Confluence on, and if it's being run as a service?
According to Working with Confluence logs:
- When you start Confluence, log entries will be sent to the application server logs until Confluence has completed its initial bootstrap. Any log entries written to the console will be repeated into the log in the Confluence home directory as described below.
- Once the initial startup sequence is complete, all logging will be to
<confluence-home>/logs/atlassian-confluence.log. For example:
Note that the default location is the Confluence home directory, not the application server's log file. The home directory is specified in
Are the logs in your Confluence home directory the ones being deleted, or were you checking the application server log file?
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events