For Studio, one log file contains all of the log messages, and a second file is used only for metrics logging.
The main logger does not print messages from the com.endeca.portal.instrumentation classes. Those messages are printed to the metrics log file.
Tomcat: | The default location of
eid-studio.log is:
<value of catalina.home>/logs For example, if catalina.home is set to C:\endeca-portal\tomcat-6.0.29, then eid-studio.log is located in: C:\endeca-portal\tomcat-6.0.29\logs |
WAS 7: | The default location of
eid-studio.log is either the value of
SERVER_LOG_ROOT or the value of
LOG_ROOT.
|
WebLogic 11g: | The default location of eid-studio.log is the root directory of the WebLogic domain. |
Tomcat - startup script: | If you started Tomcat by running a startup
script, the log file is located where the script was run.
For example, if you ran the startup script from tomcat-<version>/bin, the log file also is in tomcat-<version>/bin. |
Tomcat - Windows service: | If you registered and started Tomcat as a Windows service, the log file may be in C:\Windows\System32 or C:\Windows\SysWOW64. |
Tomcat - Eclipse server: | If Tomcat is a server inside of Eclipse, the log files may be located in the root of the Eclipse directory. |
WAS 7: | For WAS 7, the log file is located relative
to the profile's working directory.
For example, /usr/local/WAS/AppServer/profiles/AppSrv01. |
WebLogic 11g: | Does not apply. The log file is always in the domain directory. |
<appender name="FILE" class="com.endeca.portal.util.ContainerAwareRollingFileAppender"> <param name="File" value="eid-studio.log"/> <param name="MaxFileSize" value="10MB"/> <param name="MaxBackupIndex" value="10"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n" /> </layout> </appender>
If you want to specify an absolute file path for the log files, then you will need to update the appender configuration to use the regular log4j appender class.
<appender name="FILE" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="C:\endeca-portal\logs\eid-studio.log"/> <param name="MaxFileSize" value="10MB"/> <param name="MaxBackupIndex" value="10"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n" /> </layout> </appender>
An additional file appender captures metrics logging, including all log entries from the com.endeca.portal.instrumentation classes.
The metrics log file, eid-studio-metrics.log, is in the same directory as eid-studio.log.
You also can view metrics data on the Performance Metrics page. For details on metrics logging, see Monitoring the Performance of Queries.