Hi @PumpeCedric ,
Thanks for flagging this, and good catch. Confluence 11 changed how logging is configured:
- Earlier versions read
/confluence/WEB-INF/classes/log4j.properties.
- Confluence 11 uses Log4j 2 and reads
/confluence/WEB-INF/classes/log4j2.xml instead.
The old properties file is no longer used, so any customisation you made there stops taking effect after the upgrade. That is almost certainly what you are seeing. The messages about a new plugin JAR being detected and installed are logged at DEBUG level by the plugin framework, and the shipped default for com.atlassian.plugin is INFO in both the old and the new configuration. So if you could see them before, the DEBUG level must have come from your own edit to log4j.properties. Those edits are not migrated automatically, so they need to be re-applied in the new XML file.
To get them back, add this inside the element of log4j2.xml:
<Logger level="debug" name="com.atlassian.plugin"/>
The general translation is straightforward:
# log4j.properties (old)
log4j.logger.com.atlassian.plugin=DEBUG
log4j.additivity.com.atlassian.plugin=false
<!-- log4j2.xml (new) -->
<Logger level="debug" name="com.atlassian.plugin" additivity="false">
<AppenderRef ref="confluencelog"/>
</Logger>
If you leave out additivity and AppenderRef, the logger inherits the root appenders, which is usually what you want.
Two things worth knowing: The confluencelog appender has a DEBUG threshold, so DEBUG messages reach atlassian-confluence.log without further changes. If you ever need TRACE, you also have to relax that appender’s , otherwise the messages are filtered out before they are written.
If you would rather not edit files, or want to try a level temporarily, you can set it from Administration > General Configuration > Logging and Profiling. Changes there apply immediately and do not need a restart, though they are reset when Confluence restarts.
One suggestion for the upgrade in general: it is worth diffing your old log4j.properties against the defaults before you upgrade, so you have a list of exactly what you customised. Then re-apply just those entries to log4j2.xml. Aside from the config format, the shipped logging defaults in Confluence 11 are the same as before, so anything missing should come down to a customisation that needs porting.
Hope that helps, and let us know if the plugin logs still do not show up after that.