Wiki source code of Log File Locations

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

Show last authors
1 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.
2
3 == Where Each Installation Writes ==
4
5 |=Installation Method|=XWiki's Log|=How to Read It
6 |[[Standalone (demo) distribution>>doc:documentation.xs.admin.installation.methods.install-standalone-demo-distribution.WebHome]]|The console, and ##logs/<yyyy_mm_dd>.jetty.log## under the distribution directory|##tail -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##.
7 |[[Debian or Ubuntu package>>Documentation.AdminGuide.Installation.InstallationViaAPT.WebHome]], on Tomcat|##/var/log/tomcat10/catalina.out## or ##/var/log/tomcat11/catalina.out##, depending on which package is installed|##journalctl -u tomcat10## on a system where Tomcat runs under systemd, otherwise read the file
8 |[[Debian or Ubuntu package>>Documentation.AdminGuide.Installation.InstallationViaAPT.WebHome]], on Jetty (the ##xjetty## package)|##/var/log/xwiki/<yyyy_mm_dd>.jetty.log##, the package having symlinked Jetty's log directory there|##journalctl -u xwiki##, or read the file
9 |[[Docker image>>doc:documentation.xs.admin.installation.methods.install-xwiki-docker.configuration.logs.WebHome]]|The container console, and a rotating file in the permanent directory|##docker logs##. That page covers the Docker case in full, including what survives the container.
10 |[[Manual .war deployment>>doc:documentation.xs.admin.installation.methods.install-xwiki-war.WebHome]]|Wherever the servlet container sends its console|For Tomcat, ##/var/log/tomcat*/catalina.out## on a packaged install or ##<tomcat home>/logs/catalina.out## on an unpacked one
11
12 == Job Logs ==
13
14 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>>doc:documentation.xs.admin.installation.directories.permanent-directory.WebHome]]:
15
16 {{code language="none"}}
17 <permanent directory>/jobs/status/<job id>/log.xml
18 {{/code}}
19
20 Those files are written for the user interface rather than for reading directly. The [[Extension Manager>>doc:extensions:Extension.Extension Manager Application]] shows the progress log of an installation or an upgrade, which is the first place to look when an extension fails to install.

Get Connected