Branch: refs/heads/misc-logging-legacy Home: https://github.com/xwiki/xwiki-platform Commit: d26aec3e84a2efec6940c8f6a40a9462a0986266 https://github.com/xwiki/xwiki-platform/commit/d26aec3e84a2efec6940c8f6a40a9... Author: Vincent Massol <[email protected]> Date: 2026-08-01 (Sat, 01 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-events-hibernate/xwiki-platform-legacy-events-hibernate-api/src/main/java/org/xwiki/eventstream/internal/LegacyEventMigrationJob.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-messagestream/xwiki-platform-legacy-messagestream-api/src/main/java/org/xwiki/messagestream/internal/DefaultMessageStream.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-notifications/xwiki-platform-legacy-notifications-notifiers/xwiki-platform-legacy-notifications-notifiers-api/src/main/java/org/xwiki/notifications/notifiers/internal/email/live/LiveNotificationEmailListener.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/java/com/xpn/xwiki/internal/web/XWikiConfigurationService.java M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/java/com/xpn/xwiki/web/TempResourceAction.java Log Message: ----------- [Misc] Apply the logging best practices to xwiki-platform-legacy * Wrap the bare {} placeholders in [] in LegacyEventMigrationJob and DefaultMessageStream. * Replace getMessage() with ExceptionUtils.getRootCauseMessage() in the DefaultMessageStream warnings. * Move the Throwable of the LiveNotificationEmailListener warning into a root cause placeholder, since stack traces are reserved for error(). * Replace the String concatenations of XWikiConfigurationService and the String.format() of TempResourceAction with {} placeholders. * Fix the "Faile to lod configuration" typo in XWikiConfigurationService. * Log the "Failed to load the file [...] as a resource using the Servlet Context" message only when the lookup actually fails: it used to be emitted unconditionally, right before the success path returned. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications