[Feature] Add timestamp in console

Description:
Checking the console to debug an issue, it is difficult to identify which log output might be related due to the lack of timestamps.

I’d like to recommend, or maybe I already opened a feature request already, to add timestamps.

Steps to reproduce:
1.
2.
3.
4.
5.

Actual results:
Example output

DEBUG WorkflowMigrationManager            Visiting node: 1514, 3:1498:0:1385:0:1536:0:1500
DEBUG NodeContainerEditPart            Table Reader 3:1502 (EXECUTED)
DEBUG ConfigurationAreaChecker            Configuration area is at C:\Program Files\knime_5.3.0\configuration
DEBUG ConfigurationAreaChecker            Locked file in configuration area "C:\Program Files\knime_5.3.0\configuration\org.knime.core\Mike Wiegand.lock"
DEBUG ConfigurationAreaChecker            Configuration area check completed in 0,0s
DEBUG ExtPointUtil                    Found configuration element for org.knime.ui.java.SpaceProviders from com.knime.explorer.server
DEBUG ExtPointUtil                    Found configuration element for org.knime.ui.java.SpaceProviders from com.knime.explorer.server
DEBUG SelectionEventBus               Selection event listener added. Num listeners: 1
DEBUG LifeCycle                       Life cycle state transition: from 'SUSPEND' to 'INIT'
DEBUG LifeCycle                       Life cycle state transition: from 'INIT' to 'WEB_APP_LOADED'
INFO  KnimeBrowserView                %cinfo%c Injecting global logger 
      background: #00BCD4;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
DEBUG DesktopAPI                      Desktop API function successfully called: setZoomLevel
DEBUG DesktopAPI                      Desktop API function successfully called: getCustomHelpMenuEntries
WARN  JsonRpcErrorResolver            An unexpected json rpc error occurred
ERROR KnimeBrowserView                %cerror%c Error making RPC call 
      background: #c0392b;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      Error: No item for id '1842676260' (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
INFO  KnimeBrowserView                %cinfo%c Injecting global logger 
      background: #00BCD4;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
DEBUG DesktopAPI                      Desktop API function successfully called: setZoomLevel
DEBUG DesktopAPI                      Desktop API function successfully called: getCustomHelpMenuEntries
WARN  JsonRpcErrorResolver            An unexpected json rpc error occurred
ERROR KnimeBrowserView                %cerror%c Error making RPC call 
      background: #c0392b;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      Error: No item for id '1842676260' (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
DEBUG LifeCycle                       Life cycle state transition: from 'WEB_APP_LOADED' to 'SAVE_STATE'
DEBUG LifeCycle                       Life cycle state transition: from 'SAVE_STATE' to 'SUSPEND'
DEBUG DesktopAPI                      Desktop API function successfully called: switchToJavaUI

Expected results:

2024-06-25 14:32:02 DEBUG NodeContainerEditPart            Table Reader 3:1502 (EXECUTED)
2024-06-25 14:32:03 DEBUG ConfigurationAreaChecker            Configuration area is at C:\Program Files\knime_5.3.0\configuration
2024-06-25 14:32:03 DEBUG ConfigurationAreaChecker            Locked file in configuration area "C:\Program Files\knime_5.3.0\configuration\org.knime.core\Mike Wiegand.lock"
2024-06-25 14:32:03 DEBUG ConfigurationAreaChecker            Configuration area check completed in 0,0s
2024-06-25 14:32:04 DEBUG ExtPointUtil                    Found configuration element for org.knime.ui.java.SpaceProviders from com.knime.explorer.server
2024-06-25 14:32:04 DEBUG ExtPointUtil                    Found configuration element for org.knime.ui.java.SpaceProviders from com.knime.explorer.server
2024-06-25 14:32:05 DEBUG SelectionEventBus               Selection event listener added. Num listeners: 1
2024-06-25 14:32:06 DEBUG LifeCycle                       Life cycle state transition: from 'SUSPEND' to 'INIT'
2024-06-25 14:32:07 DEBUG LifeCycle                       Life cycle state transition: from 'INIT' to 'WEB_APP_LOADED'
2024-06-25 14:32:08 INFO  KnimeBrowserView                %cinfo%c Injecting global logger 
      background: #00BCD4;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
2024-06-25 14:32:09 DEBUG DesktopAPI                      Desktop API function successfully called: setZoomLevel
2024-06-25 14:32:09 DEBUG DesktopAPI                      Desktop API function successfully called: getCustomHelpMenuEntries
2024-06-25 14:32:10 WARN  JsonRpcErrorResolver            An unexpected json rpc error occurred
2024-06-25 14:32:11 ERROR KnimeBrowserView                %cerror%c Error making RPC call 
      background: #c0392b;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      Error: No item for id '1842676260' (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
2024-06-25 14:32:12 INFO  KnimeBrowserView                %cinfo%c Injecting global logger 
      background: #00BCD4;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
2024-06-25 14:32:13 DEBUG DesktopAPI                      Desktop API function successfully called: setZoomLevel
2024-06-25 14:32:13 DEBUG DesktopAPI                      Desktop API function successfully called: getCustomHelpMenuEntries
2024-06-25 14:32:14 WARN  JsonRpcErrorResolver            An unexpected json rpc error occurred
2024-06-25 14:32:15 ERROR KnimeBrowserView                %cerror%c Error making RPC call 
      background: #c0392b;
      border-radius: 0.5em;
      color: white;
      font-weight: bold;
      padding: 2px 0.5em;
      Error: No item for id '1842676260' (source: http://org.knime.ui.java/assets/index-DeXi8oab.js; line: 64)
2024-06-25 14:32:16 DEBUG LifeCycle                       Life cycle state transition: from 'WEB_APP_LOADED' to 'SAVE_STATE'
2024-06-25 14:32:17 DEBUG LifeCycle                       Life cycle state transition: from 'SAVE_STATE' to 'SUSPEND'
2024-06-25 14:32:18 DEBUG DesktopAPI                      Desktop API function successfully called: switchToJavaUI

Attachments:

OS:

1 Like

Thank you @mwiegand for sharing your feedback,

I moved this topic to feedback and ideas to possibly have more feedback from the community + upvotes.