This form lets you define the way logging works with precision. You can specify for which users and for which screen actions logging should take place. You can also specify which program parts should log.
Where the logs are written can be set via so-called appenders. Webdesk EWP provides 4 appenders by default:
|
Appender |
Description |
|---|---|
|
Database |
This appender is the most convenient log medium; here every event is written to a log per action and user. This log applies for the entire time spent within an action (which means that paging within an action also counts!). The disadvantage is that this type of logging is also the most expensive, since write access to the database occurs constantly. |
|
Console |
This appender writes to the console of the servlet container (e.g., Tomcat) in which the Webdesk EWP server runs. It is a text file with a chronological structure. It is naturally difficult to filter out log events of individual users here. |
|
Error-File |
This is a special appender that accepts only events of type ERROR or FATAL. The target is a file in the Webdesk directory (webdesk3/WEB-INF/logs/error.log) |
|
Log-File |
This appender writes to a log file within the Webdesk application. Unlike the console log, only log events from Webdesk are written to this log, whereas with the console appender other web applications in the same container could also log to this appender. (webdesk3/WEB-INF/logs/log4j.log) |
Database logging (Appender = DATABASE) is only enabled if the logged-in user and the called action have been enabled for logging. The correct configuration of the upper part of the form is essential here!
|
Logger name |
Description |
|---|---|
|
shark |
Logger for the workflow engine |
|
at.workflow.webdesk |
Logger for all Webdesk classes and services |
|
org.hibernate.SQL |
Logger for all SQL-generating classes in Hibernate |
|
DatabaseManager |
Logger for DODS (O/R mapping tool used by Shark) |
|
Persistence |
Logger for DAOs of the workflow engine |
Conversely, it is not necessary to enable actions or users for logging if logging is done to media other than the database. (Example: CONSOLE, FILE, ERROR-FILE)
If you have questions about the detailed functioning of the parameters, please contact Workflow EDV GmbH.