The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Why logs messages are not displaying in 'system logs' for Indicator templates

suryaprakash123
Tera Expert

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

 

suryaprakash123_0-1686106986700.png

 

1 REPLY 1

Community Alums
Not applicable

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.


  • Type: String
  • Default value: db
  • Location: System Property [sys_properties] table
scope_name.logging.verbosity Configures log verbosity: error, warn, info, debug, or trace.
  • Type: String
  • Default value: info
  • Location: System Property [sys_properties] table
  •