Why logs messages are not displaying in 'system logs' for Indicator templates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 08:03 PM
Dear Team,
I am tring to wite some script on indicator template by selecting the type as 'script' , but unable to see the log in the 'system logs', kindly help me on this. please find below attachment.
Thank you,
Surya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 09:29 PM
Hi @suryaprakash123 ,
You can refer below :-
The Scoped Logging API provides four levels of verbosity. In order from least verbose to most, they are:
Log Level | Description |
---|---|
error (gs.error) | Logs events that might still allow the application to continue running. Setting the log level for an application to error generates error messages only, but does not generate warn, info, or debug messages. |
warn (gs.warn) | Logs potentially harmful events. Setting the log level for an application to warn generates error and warn messages, but does not generate error or debug messages. |
info (gs.info) | Logs informational messages that describe the progress of the application. Setting the log level for an application to info generates info, warn, and error messages, but does not generate debug messages. |
debug (gs.debug) | Logs informational events that are useful for debugging an application. Setting the log level for an application to debug generates info, warn, error, and debug messages. |
Best practice for scoped applications is to create two system properties to control the destination of verbosity of logging.
All scoped applications have two properties for control logging verbosity and destination. System properties are available by application for configuring log verbosity and destination, and for turning session debugging on or off:
Property | Description |
---|---|
scope_name.logging.destination |
Configuring the log destination: file system or db.
|
scope_name.logging.verbosity | Configures log verbosity: error, warn, info, debug, or trace.
|