Question
How do I set the log level?
Answer
-Log level
The log level is a setting item that defines the criteria for information output to the HULFT Square's log.
[Development support functions] - [Log levels]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Data_Integration/Detailed/support.htm#log_level
The information output to the log differs depending on the log level.
For example, data processed by Mapper, etc. will be logged if the log level is set to the following level or higher.
Input and output data of Mapper logic : DEBUG
Output data to output schema : DEBUG
Data assigned to script variables : INFO
[Document Mapper/Variable Mapper (Basic)] - [Output Processing Data Log Function]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Mapper/mpp_basic.htm#log
-How to set the log level
The log level can be set from "Option" in the "Tools" menu in the Designer.
If any of the following operation components are used in a script, the log level can be temporarily changed for each component.
However, the log level might be changed in the middle of multi-threaded operations such as PSP or Multi-Thread Processing.
[Loop]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/flow_loop.htm
[Conditional Loop]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/flow_conditional_loop.htm
[Loop by Number of Data]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/flow_loop_by_number_of_data.htm
The log output volume increases in proportion to the number of loops in a loop process, but by the output volume and the output cost can be reduced by setting the log level individually.
e.g. When you want to set the log level of the script to "DEBUG", but want to set the log level to "INFO" in the iterative process
Set the log level to "DEBUG" in the designer's [Option].
Open the "Log settings" tab from the properties of the [Loop] icon and check the "Change log settings" and "Output log".
Select "INFO" as the log level for the [Loop] process.
-Supplementary information
The recommended log level for usual operation is "INFO" and for development is "FINFO".
Please note that if the log level is set to a lower level, such as "DEBUG," the log output might be large and memory may be overwhelmed, depending on the contents of the script processing.
Comments
0 comments
Article is closed for comments.