Q: When starting SuperMap iServer in the Windows service form in Tomcat or other Java web containers started, how to place the log file?

A: When SuperMap iServer is started in the form of Windows service, in Tomcat for instance, \Tomcat 6.0\webapps\iserver\WEB-INF\config\ log4j.properties file specifies where to place the log file: log 4j . appender.F.File=../logs/iserver.log. Therefore, the logs folder is placed in the parent directory of service startup file (cmd.exe). That is to say, the log file is placed in C:\Windows\logs\. In addition, you can modify the the log4j.properties file, and specify the path as an absolute path, such as log4 j. appender . F . File =D:/Tomcat 6.0/logs/iserver.log.

08 July,2019
Tags: iServer

More iServer FAQ