Log output change after migrating from Scout 22 to 23.2 [message #1862700] |
Thu, 21 December 2023 13:33  |
Seydou Zakou Messages: 44 Registered: May 2020 |
Member |
|
|
Migrating from Scout 22 to Scout 23.2, I have encounterd some issues (tested in Eclipse and Intelij IDEA CE):
- Log output on console are not on new line for each entry and format has changed (no change has beeen made to logback.xml files), see example output below when line wrap is enabled in console
2023-12-21 13:15:33,173 INFO [main] org.eclipse.scout.rt.platform.config.ConfigPropertyProvider.parse\(ConfigPropertyProvider.java:115\2023-12-21 13:15:33,190 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.validateHeadless\(PlatformImplementor.java:174\2023-12-21 13:15:33,194 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.inventory.ClassInventory.<clinit>\(ClassInventory.java:37\2023-12-21 13:15:33,230 INFO [ForkJoinPool.commonPool-worker-13] org.eclipse.scout.rt.platform.inventory.internal.JandexInventoryBuilder.scanFolder\(JandexInventoryBuilder.java:180\2023-12-21 13:15:33,258 INFO [ForkJoinPool.commonPool-worker-5] org.eclipse.scout.rt.platform.inventory.internal.JandexInventoryBuilder.scanFolder\(JandexInventoryBuilder.java:180\2023-12-21 13:15:33,414 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.inventory.ClassInventory.<clinit>\(ClassInventory.java:43\2023-12-21 13:15:33,599 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.createBeanManager\(PlatformImplementor.java:221\2023-12-21 13:15:33,595 WARN [ForkJoinPool.commonPool-worker-3] org.eclipse.scout.rt.platform.internal.BeanFilter.collectWithSubClasses\(BeanFilter.java:75\2023-12-21 13:15:33,643 INFO [scout-platform-starter] org.eclipse.scout.rt.platform.internal.PlatformImplementor.createBeanManager\(PlatformImplementor.java:226\2023-12-21 13:15:33,649 INFO
- There is no Dump of running SQL query in log output
- The famous links to access the application after the start finished in not seeing anymore
Is there any config I have missing ?
Thanks in advance
|
|
|
Re: Log output change after migrating from Scout 22 to 23.2 [message #1862722 is a reply to message #1862700] |
Fri, 22 December 2023 10:26   |
|
I'm not sure if the output you pasted was corrupted by the forum software, but if your output really looks like this, something is definitively wrong. I see backslash characters in strange places, and the log lines seem to stop right after the class and line number.
I recommend that you to check the content of your logback.xml, maybe it got messed up (VCS conflict?). You should also make sure that the file encoding is set correctly (UTF-8). If this does not help, you can try adding debug="true" to the <configuration> element, which enables the output of some debug information about the logback initialization process. Or simply delete the logback.xml file. The format will then be wrong, but at least you should see individual lines with the proper messages. If it still looks wrong, maybe your console is broken. Are you running some kind of plugin that interferes with the console output (filtering, coloring etc.)?
Beat
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04124 seconds