LogConfigure
Configures features of aTM logging.
Member of namespace
Maintenance ManagerSyntax
bool LogConfigure (int severity, string filePath, bool overwrite, bool reflash, bool showTime, bool showDate, bool showSeverity)Parameters
- severity
- Type: int
- filePath
- Type: string
- overwrite
- Type: bool
- reflash
- Type: bool
- showTime
- Type: bool
- showDate
- Type: bool
- showSeverity
- Type: bool
Returns
True if logging is successfully configured. Otherwise, False.Level
Any level.Details
Configures aTM logging. The severity controls verbosity of the log; logging only severe errors will provide the best performance at expense of reduced debugging information, should a debug trace be required.This will not change logging as configured for each of the tasks in the target application (i.e. RRS logs). If this action is not called, no aTM log file will be created. aTM logging can be evaluated to see which requests were transmitted to the Maintenance Manager Server.
- Example:
LogConfigure("5", "@STRING(C:\ParentDir\NENU\Logs\NENU.aTM)")In this example, rolling 'NENU.aTM.#.log' logs is placed into the custom directory.
LogConfigure("5", "@APPPATH(export)")In this example, the output directory is retrieved from the application service using Smart parameters. The path is the export directory for the current application.