|
Element ''TextFileLogger'' |
|
|
(Since version 5.0) Prior to version 4.3, MoreMotion AF could only output the logging records to the system console. This limitation was gone by then and it became possible to output the log records to other targets, i.e. to text files, through the special Java classes that implements the new Logger The org.moremotion.log.TextFileLogger class that implements this interface can be utilized by configuring this element.
The only property of this element defines the name of the output text file for the logging. The file name can be specified absolutely or relative to the application root. It is possible to use MScript in this property to define the name of the log file dynamically. For example with a definition like WEB-INF/MM-INF/logs/@vof(/mor_security_userinfo_main.username)_log.txt a different log file can be opened for each user. Of course this is just a logging target definition. To redirect the logging to the file defined here, the name of this element must be specified in the corresponding Data Source "Debug" property or Process List "Debug" column for which the logging needs to be activated. Example:
|