Logging Flags
As mentioned earlier, depending on site needs, you may configure which message types and severity levels are to be written into the log. You can use global variables to configure these messages.
The following table lists the flags that are stored as global variables. Messages that have a severity level of 0 (fatal messages) are always logged; there are no flags to turn this messaging off. Acceptable values for these flags are 0 (false) or 1 (true).
Flag
Description
ESILog/Functional_Debug
Enables logging of messages that are type functional and severity debug.
ESILog/Functional_Informational
Enables logging of messages that are type functional and severity informational.
ESILog/Functional_Success
Enables logging of messages that are type functional and severity success.
ESILog/Functional_Warning
Enables logging of messages that are type functional and severity warning.
ESILog/Functional_Error
Enables logging of messages that are type functional and severity error.
ESILog/Technical_Debug
Enables logging of messages that are type technical and severity debug.
ESILog/Technical_Informational
Enables logging of messages that are type technical and severity informational.
ESILog/Technical_Success
Enables logging of messages that are type technical and severity success.
ESILog/Technical_Warning
Enables logging of messages that are type technical and severity warning.
ESILog/Technical_Error
Enables logging of messages that are type technical and severity error.
The flags in the previous table determine when to log messages. There are additional flags that determine what to log. The following table describes these global variables in detail:
Flag
Description
ESILog/ERPPrimary
Enables logging of ERP primary messages. For more information, see Components of a Log Entry.
ESILog/ERPSecondary
Enables logging of ERP secondary messages. For more information, see Components of a Log Entry.
ESILog/RootCause
Enables logging of root cause messages. For more information, see Components of a Log Entry.
這是否有幫助?