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


Appendix B Using TIBCO Hawk Methods : Available Microagent Methods : setLogConfig()

setLogConfig()
Purpose
This method can control whether log is written to files or not, and controls the log level.
The repository server's logging is provided on both standard output and the log file if the log file is available.
Users can control the level for both file and standard output logging.
Users can decide whether server should write log or not, by setting the Is Log On parameter.
Users can change properties of log files with optional parameters Log directory Log file max number, and Log file max size.
Type
Open, Synchronous, METHOD_TYPE_ACTION
Parameters
 
If the level is set to error, only error messages are logged.
If level is set to warning, warning and error messages are logged.
If level is set to info, informative, warning, and error messages are logged.
If level is set to verbose or debug, verbose, info, warning, and error messages are logged.
When this parameter is not specified (left as empty string), and a previous log file exists, then the server writes the log to the same file. But if no log file has been created by the server and the repo.logDirectory parameter in the tibcoadmin_domain.tra file is also not set, then the repository server uses default directory ./log to create the log files.
 

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