How to change the location of stdout and stderr logs

Usage FAQ

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

If JIRA is running as service in Windows, stdout_*.log and stderr_*.log files will be created. These files will grow rapidly and over time can become very large. You can change the location of these files to a different location, if needed.

To change the stdout_.log and stderr_.log location,

  1. Remove the JIRA service.
  2. Open the service.bat file with editor and find the parameter below:

    set PR_LOGPATH=%CATALINA_BASE%\logs
    set PR_STDOUTPUT=auto
    set PR_STDERROR=auto
    
  3. Change set PR_LOGPATH=%CATALINA_BASE%\logs to any location you wish, for example set PR_LOGPATH=D:\logs
  4. Run service.bat install JIRA_SERVICE_NAME to install JIRA as a service again.
Last modified on Sep 23, 2012

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.