To help find and diagnose errors, we’d usually change the logging level, reproduce the error, review the logs simultaneously, and then return the logging level to its original setting.
You can change the Root logging level by following these steps:
Go to the Mosaic home page.
Click on Tools.
Select Configuration Tools.
Select Logging.
Select Root logging level.
Click Save.
Root logging levels explained:
📌 Note: Remember to return the logging level to the standard setting once you’re done, as not doing so can impact performance.
Error: The ERROR log level indicates error conditions within an application that hinder the execution of a specific operation. While the application can continue functioning at a reduced level of functionality or performance, ERROR logs signify issues that should be investigated promptly.Warn: Events logged at the WARN level typically indicate that something unexpected has occurred, but the application can continue to function normally for the time being. It is also used to signify conditions that should be promptly addressed before they escalate into problems for the application.
Info: The INFO level captures events in the system that are significant to the application's business purpose. Such events are logged to show that the system is operating normally. Production systems typically default to logging at this level so that a summary of the application's normal behaviour is visible to anyone reviewing the logs.
Debug: The DEBUG level is used for logging messages that aid developers in identifying issues during a debugging session. The content of the messages logged at the DEBUG level will vary depending on your application, but they typically contain detailed information that assists its developers in troubleshooting problems efficiently. This can include variables' state within the surrounding scope or relevant error codes.
Trace: The TRACE level is designed specifically for tracing the path of code execution within a program. It is primarily used to provide a detailed breakdown of the events leading up to a crash, error, or other logged events at higher levels.
You can find more information on this on betterstack.com
