Empty Logging configuration

the logging configuration is empty on my xwiki(I am using the admin account):
Bildschirmfoto von 2021-07-22 08-02-24

But no error messages are shown in the tomcat log.

OS: CentOS7
Java: 1.8.0_292
Tomcat: 9.0.50
XWiki: 12.10.8

Have some one any ideas what’s goes wrong?

Hi, could you check the following:

  • Clear your browser cache
  • Check the javascript console for any error
  • Check the xwiki logs for any error


I have tested it with several browsers, but the result is the same.
In the log of the tomcat no messages about errors or warnings are logged.
Only on the browser console of the firefox I can see some errors:

  • One of an mime type conflict:
    /xwiki/bin/ssx/Help/SupportPanel/WebHome?&docVersion=1.1 wurde wegen eines MIME-Typ-Konfliktes (“text/html”) blockiert (X-Content-Type-Options: nosniff).
  • And one call that will end with an status code 500 from the tomcat. (But nothing is logged on the tomcat side):

This is the important one which makes the LD fail IMO, cc @mflorea and @mleduc

Now a 500 error should indeed generate a server side error in the logs normally.

Can you try calling this URL directly in your browser to see what you get?

I’m not an expert in LD but @mflorea and @mleduc should be able to help out when they’re back from holidays.

Yes I can call the URL,
but I only see the tomcat default error message:

HTTP Status 500 – Internal Server Error

Nothing more. And no log entry in the catalina.out file.

Hi guys!

I had the same problem as @mdc_xwiki in Version 12.10.8, now updated to 12.10.10 and the issue is still a thing.

I am running XWiki within docker from the official image. An InternalServerError 500 shows up in the browser console when loading the logging settings:

XHR GET https://wiki.meeth.de/rest/liveData/sources/liveTable/entries?timestamp=1635319718465&namespace=wiki:xwiki&sourceParams.resultPage=XWiki.LoggingAdminTableJson&sourceParams.translationPrefix=logging.admin.livetable.&sourceParams.queryFilters=currentlanguage,hidden&properties=logger&properties=level&properties=actions&offset=0&limit=15&sort=logger&descending= [HTTP/1.1 500  45ms]

I checked log output of the container and saw a couple of exceptions, I’m not even sure those are issue-releted though (they popped only once, not with every refresh of the logging configuration page):

2021-10-27 07:26:02,220 [http-nio-8080-exec-3 - http://wiki.meeth.de/webjars/wiki%3Axwiki/vue/2.6.12/vue.min.js] ERROR ebJarsResourceReferenceHandler - Failed to read resource [vue/2.6.12/vue.min.js]
org.xwiki.resource.ResourceReferenceHandlerException: Failed to read resource [vue/2.6.12/vue.min.js]
2021-10-27 07:28:37,348 [http-nio-8080-exec-5 - http://wiki.meeth.de/webjars/wiki%3Axwiki/xwiki-platform-livedata-webjar/12.10.10/xwiki-livedata-vue.umd.min.js] ERROR ebJarsResourceReferenceHandler - Failed to read resource [xwiki-platform-livedata-webjar/12.10.10/xwiki-livedata-vue.umd.min.js] 
org.xwiki.resource.ResourceReferenceHandlerException: Failed to read resource [xwiki-platform-livedata-webjar/12.10.10/xwiki-livedata-vue.umd.min.js]

Can someone help please?

Hi, could you paste the full stack trace from the logs?

Also check the javascript console for errors and report them here.


This might seems unrelated by may I ask if the Display annotations by default settings is checked in the administration (see Configuration Annotations in the Annotations Application documentation).

If that’s the case, does unchecking this option fixes the Logs table?


@vmassol Here all the exceptions from the browser console

Navigate to https://wiki.meeth.de/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Logging

Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data undefined

XHR GET https://wiki.meeth.de/rest/liveData/sources/liveTable/entries?timestamp=1635331808142&namespace=wiki:xwiki&sourceParams.resultPage=XWiki.LoggingAdminTableJson&sourceParams.translationPrefix=logging.admin.livetable.&sourceParams.queryFilters=currentlanguage,hidden&properties=logger&properties=level&properties=actions&offset=0&limit=15&sort=logger&descending= [HTTP/1.1 500  94ms]

Object { readyState: 4, getResponseHeader: getResponseHeader(a), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(a, b), overrideMimeType: overrideMimeType(a), statusCode: statusCode(a), abort: abort(a), state: state(), always: always(), then: then(), … } (from Logic.js:378:30)

Hi @mleduc,

I had the following settings:

Display annotations by default = false
Display annotations highlight by default = true

I played with these settings, and they do not affect the logging configuration: still blank.

If I can provide additional information, just let me know!