Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Administration Server Properties File : Logging Properties

Logging Properties
Information about administration server management operations can be logged to the console window, a file in a specified directory, or both.
In addition, log records can be sent to the Windows event log if you are running on a Windows operating system. File names are of the form repo.logFileNamePrefix .number, where repo.logFileNamePrefix is based on the property listed below and number is a unique ID. Each time the administration server is started, a new log file is created. By default twenty log files are kept. Log files normally grow only to a certain maximum size (default is 100KB). After reaching this limit, the log file is closed and a new log file is opened.
The following properties define how logging occurs.
tibcoadmin.monitor.traceLogMaxLines—Default value is 1000.
Specifies the max number of lines to retrieve in trace log search. If the TIBCO Administrator GUI is not able to display the log because it is too big, change this number or add filters to the log search.
repo.logOperations—Optional. Default value is false.
If set to true, information about project management operations is logged. Information is logged to a file sink, as well as to the console.
To set up a file sink, use the repo.logDirectory property. To specify the level of the severity of events to log, use the repo.logLevel property.
repo.logDirectory— Optional. Default value is TRA_HOME/tra/domain/domain/administrator/version/tomcat.
Path to directory. If set, logging is printed to the console and to a file in the specified directory.
If the property is not set, then the log directory under the current working directory is used.
File names are of the form repo.logFileNamePrefix.number, where number is a unique id, and the repo.logFileNamePrefix value is given as another property of this file. Each time the server is started, a new file is created.
repo.logFileNamePrefix—Optional. Default value is RepositoryServer.repo.serverName.log where the repo.serverName value is given as another property of this file.
This property holds a prefix for the log file name. This property is effective only when repo.logOperations is set to true.
repo.logFileMaxNumber—Optional. Default value is 20.
Maximum number of most recent log files that are maintained by the server. Only the most recent log files are kept.
repo.logFileMaxSize—Optional. Default value is 100KB.
Log file size limit. Log files normally grow only to a certain maximum size. After reaching this limit, the file is closed and a new file is opened. The limit is in bytes.
repo.logLevel—Optional. Default value is Info.
Specify the minimum severity level of events to log. The server supports the following logging levels.
Error: only error messages are logged.
Warn: warning messages are logged in addition to all the messages at Error level.
Info: informative messages are logged in addition to all the messages of Warning level.
Verbose: verbose messages are logged in addition to all the messages of Info level. This logs debugging messages.
repo.windowsEventLogLogLevel—Optional. Default value is None.
Specifies the level of logging on Microsoft Windows Event Log. When the server is running on a Microsoft Windows system, it can write log messages on the Windows event log service as well as console or file. This property is effective only when the operating system is Microsoft Windows.
The server supports the following levels of logging.
None: no messages are logged to the Microsoft Windows event log.
Error: only error messages are logged to the Microsoft Windows event log.
Warning: warning messages are logged in addition to all the messages of Error level.
Info: informative messages are logged in addition to all the messages of Warning level.
Debug: debug messages are logged in addition to all the messages of Info level.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved