Log File Locations

Last modified by Eleni Cojocariu on 2026/11/24 18:41

Reference

XWiki logs to the console, and the console is captured by whatever starts XWiki, so the file to open depends on how the instance was installed rather than on XWiki itself.

Where Each Installation Writes

Installation MethodXWiki's LogHow to Read It
Standalone (demo) distributionThe console, and logs/<yyyy_mm_dd>.jetty.log under the distribution directorytail -f logs/*.jetty.log. Jetty keeps 90 days of files, named after the GMT day they cover, and writes its access log beside them as <yyyy_mm_dd>.request.log.
Debian or Ubuntu package, on Tomcat/var/log/tomcat10/catalina.out or /var/log/tomcat11/catalina.out, depending on which package is installedjournalctl -u tomcat10 on a system where Tomcat runs under systemd, otherwise read the file
Debian or Ubuntu package, on Jetty (the xjetty package)/var/log/xwiki/<yyyy_mm_dd>.jetty.log, the package having symlinked Jetty's log directory therejournalctl -u xwiki, or read the file
Docker imageThe container console, and a rotating file in the permanent directorydocker logs. That page covers the Docker case in full, including what survives the container.
Manual .war deploymentWherever the servlet container sends its consoleFor Tomcat, /var/log/tomcat*/catalina.out on a packaged install or <tomcat home>/logs/catalina.out on an unpacked one

Job Logs

Operations that can take a while run as jobs: installing or upgrading an extension, deleting a batch of pages, rebuilding the search index. Each job keeps its own log, separate from the main one, in the permanent directory:

<permanent directory>/jobs/status/<job id>/log.xml

Those files are written for the user interface rather than for reading directly. The Extension Manager shows the progress log of an installation or an upgrade, which is the first place to look when an extension fails to install.

FAQ

Why is there no xwiki.log file?

Because the Logback configuration XWiki ships declares a console appender and nothing else. To get a file of your own, add a file appender in logback.xml, as described in Configure Log Levels.

The log stops at the servlet container's startup messages. Where is the rest?

The container is capturing its console somewhere other than the file you opened, which is common when it runs under systemd. Ask systemd instead, with journalctl -u followed by the service name.

Related

Get Connected