Log files are used to capture and persist relevant information while working with BizDataX Designer.
If set up correctly, they can provide invaluable information about potential problems we might come across while working. However, logs can quickly become hard to read and understand due to huge amount of information stored in them - that's when log severity level can, and should, be changed. By changing it we're instructing BizDataX what kind of information we deem important enough to store in the log files, while everything else should go ignored. On the contrary, if we strip ourselves of too much information, severity level can be reverted to default level or even further decreased to provide more information.
|Severity level||Available information||When to use it?|
|ALL||All information will be collected and written to log file.||Not recommended.|
|DEBUG||Fine-grained informational events that are most useful to debug the application will be written to log file.||Recommended to use while debugging packages with issues or when explicit queries used in the packages are needed.|
|INFO||Informational messages that highlight the progress of the application at coarse-grained level will be written to log file. This is the default log severity level.||Recommended when executing packages that have no issues and log is used for monitoring progress. These logs have long-term value.|
|WARN||Potentially harmful situations will be written to a log file.||Recommended to use in production when executing packages that have no issues, but monitoring isn't necessary. These logs will contain information about unexpected events in the application flow, if such exist.|
|ERROR||Error events that might still allow the application to continue running will be written to log file.||Recommended to use in production when executing packages that have no issues, but monitoring isn't necessary. These logs will highlight events that interrupted execution flow due to a failure.|
|FATAL||Only very severe error events that will presumably lead the application to abort will be written to log file.||Not recommended.|
|OFF||No information will be collected and written to log file.||Not recommended.|
To change the log severity level follow the steps below:
Open or create BizDataX Package (Visual Studio project)
Open App.config file
<log4net> section and locate below provided configuration section
<root> <level value="INFO" /> <appender-ref ref="RollingLogFileAppender" /> <!--<appender-ref ref="EventLogAppender" />--> </root>
Replace keyword INFO with any value provided in severity level table