Log files are missing
![]()
We were trying to find out why a user was having trouble and when we went to the RTC server and JTS server we couldn't find any current logs. I looked in the properties and it said there should be a jts.log file but its no where on the system. The logs were last updated in Sept. We do have logs for tomcat but that won't help us if we have trouble with JTS or RTC.
Looking for ideas on why we can't find any current logs. Thanks! |
2 answers
![]()
I've found that using an absolute path for logs defined via log4j.properties works best. If there is a partial path, that partial path will be written under either the 'server' directory of the install and sometimes under tomcat directory.
e.g. ################################ # File Appender # ################################ log4j.appender.file=org.apache.log4j.DailyRollingFileAppender log4j.appender.file.MaxBackupIndex=13 log4j.appender.file.DatePattern='.'yyyy-ww log4j.appender.file.File=/rtclogs/rtcserver7/jazz.log log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%30t] %5p %-50.50c - %m%n You can also view the jazz log with a URI in this form: https://server.domain:port/context/service/com.ibm.team.repository.common.internal.IFeedService?category=SystemLog substitute server.domain with the host name of the server, :port with the port number, if necessary; context will be jazz, jts, ccm, qm, rm depending on the heritage of the application. I'd also check for full file system if the log configuration are properly set. |