LYCIA_SEVERITY

 

Specifies the logging level for the application (=qrun) log file.

 

Syntax:

 

LYCIA_SEVERITY={error, warn, info, trace}

 

Possible values:

 

Variable values correspond to the level of logging, i.e. the higher the level, the more information is written to the application log file:

 

error

(default)

logs runtime errors (= errors that are fatal for the operation, but not for the application like missing data, can't open a required file, etc.)

warn

logs potentially harmful runtime situations (= all situations of irregular behavior like unusual call parameters, strange query formats, missing secondary data, etc.)

info

logs operations that occur on a non-recurrent basis (= fine-grained informational events like connecting to server, starting/stopping web services, plug-ins, or back-up, etc.)

trace

logs all the steps performed by the applications (like all the communications between client and server, inputs, buttons clicks, etc. - provides the context necessary to understand what has lead up to an error or a warning)

 

Usage and examples:

 

LYCIA_SEVERITY specifies the logging level for application log files:

 

LYCIA_SEVERITY=warn

 

In this case, only errors and warnings will be written to the application log file.

 

LYCIA_SEVERITY=trace

 

In this case, all the relevant information about the application execution will be logged.

 

If LYCIA_SEVERITY is not defined, only runtime errors will be logged.

 

LYCIA_SEVERITY applies at runtime and must be set in inet.env together with QXDEBUG and LYCIA_POST_MORTEM_LENGTH.

 

Log files for the running applications are stored in these folders:

 

C:\ProgramData\Querix\Lycia 7\logs

 

 

/opt/Querix/Lycia/logs

 

 

 

Related articles:

QXDEBUG

LYCIA_POST_MORTEM_LENGTH

inet.env

Logging configurations