Hi,
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)
Hello Carol,
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:c:/confluence/data/logs/atlassian-confluence.log
.Note that the default location is the Confluence home directory, not the application server's log file. The home directory is specified in
<confluence-installation>/confluence/WEB-INF/classes/confluence-init.properties
.
Are the logs in your Confluence home directory the ones being deleted, or were you checking the application server log file?
Regards,
Shannon
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.