There is 1 comment.
 
 
XWiki Docker images / cid:jira-generated-image-avatar-05fc499d-0633-4d07-a291-63e29466200d XDOCKER-78 Open

XWiki logs do not appear in a catalina.out log file

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-effaea3f-253f-43a3-9afb-b56c74a3e851 Anca Luca on 24/Apr/26 15:08
 
bq. For some reason the stdout output by XWiki are not caught by Tomcat and thus don't appear on the catalina.out file

The explanation that I got today for this is that this is somewhat the standard of containers (having logs on the output of the container and not _in_ the container). It's still not clear to me whether it's not possible to have them in both places (I don't see why it should not be possible), nor if we really made a conscious choice for not having these logs available in the container itself when this packaging was implemented.

The
problem with having the logs only in the console where you started docker (which is equivalent to having the logs only outside the container and never inside) is that they cannot be read from within XWiki.

This is quite limiting for the diagnostics and information that XWiki can get about itself.

For example, the "show logs" tool of the admin tools extension doesn't work in such an environment and is not possible to implement
, and it's awfully useful .