Difference between revisions of "HowTo:Configure Logging"
(→Logging Categories) |
|||
Line 14: | Line 14: | ||
! Type!! Description | ! Type!! Description | ||
|- | |- | ||
− | | CUSTOMIZING || Log for events that occured in the customizing. This method | + | | CUSTOMIZING || Log for events that occured in the customizing. This method is available by adding "UBIKKernel.LogCustomizing(...)" to the customizing code. |
|- | |- | ||
| WORKFLOW || Log for events that occured when running workflows which is provided by the [[WriteLogEntry_(Activity)|WriteLogEntry Activity]] | | WORKFLOW || Log for events that occured when running workflows which is provided by the [[WriteLogEntry_(Activity)|WriteLogEntry Activity]] | ||
Line 31: | Line 31: | ||
|- | |- | ||
|} | |} | ||
− | |||
==See also== | ==See also== |
Revision as of 13:12, 25 March 2014
Logging in UBIK® can be configured for the Web Service as well as for the UBIK.Studio. The general configuration for logging is described here.
- The logging for the Web Service can be configured via editing the Web Service Configuration in section loggingConfiguration.
- The logging in UBIK.Studio can be configured by editing the file "UBIK.Studio.exe.config", which is located in the program folder of UBIK.Studio and also contains the section loggingConfiguration which can be configured in the same way like the UBIK Web Service.
Logging Categories
UBIK has different types of categories configured for the logging mechanism. The following categories can be configured in the configuration files. Categories with the remark "internal use" are available via customizing code, but are not intednded to be used for logging customizing or workflow events. Therefore, two separate categories have been defined.
Type | Description |
---|---|
CUSTOMIZING | Log for events that occured in the customizing. This method is available by adding "UBIKKernel.LogCustomizing(...)" to the customizing code. |
WORKFLOW | Log for events that occured when running workflows which is provided by the WriteLogEntry Activity |
ASSERTION | Log for failed Assertions (internal) |
WARNING | Log for events that created a warning (internal) |
ERROR | Log for events that created an error (internal) |
DEBUG | Log for events that have to be investigated in the development (internal) |
SQL | Log for events related to SQL queries (internal) |
EXCEPTION | Log for events that caused an exception (internal) |