Installation and Configuration : 3. Using the iimgmtsvr Remote Manager Server : Logging and Debugging : Log File Settings
 
Share this page                  
Log File Settings
Logging is controlled with five groups of settings specifying logging level, location, and rotation.
1. Level of logging desired
2. Log directory location (not configurable for iimgmtsvr), log file name template, and console echo option
3. Log file rotation basics: enabled/disabled, whether compression is implemented, and how many backup files to keep
4. Date-based rotation
5. Size-based rotation
Syntax for Setting Logging Values
The syntax for setting each value varies for different environments.
Environment
General Syntax
Shell environment
Windows: set VAR=VALUE
Linux: export VAR=VALUE
ingsetenv
ingsetenv VAR VALUE (without equals sign)
iisetres*
iisetres ii.hostname.mgmtsvr.VAR VALUE
Note:  *Using iisetres requires knowing the host name suitable for use in the config.dat file. You can find this value by using the iipmhost utility of Ingres or Vector. For more information, see “iipmhost Command” in the Ingres or Vector Command Reference Guide. iisetres is available to set the value of environment variables only for the management server, not Director.
The following prefixes are equivalent:
logging_
log_
errlog_ (supported by the X100 server; preferred for compatibility)
More information:
Environment Variables