레이블이 log인 게시물을 표시합니다. 모든 게시물 표시
레이블이 log인 게시물을 표시합니다. 모든 게시물 표시

2011년 12월 30일 금요일

Jazz 로그


서버 로그

  • 째즈서버 로그 : jazz/server/logs/jazz.log
  • 톰캣서버 로그 : jazz/server/tomcat/logs/*.log


서버 로그를 영문으로 캡처하는 방법

  • 톰캣 : \jazz\server\server.startup.bat 파일을 수정
set JAVA_OPTS=%JAVA_OPTS% -Duser.language=en -Duser.region=US
set JAVA_OPTS=%JAVA_OPTS% -Djava.awt.headless=true
...



Jazz 빌드엔진을 영문으로 띄우는 방법

\jazz\buildsystem\buildengine\eclipse\jbe.ini 파일을 수정합니다.
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Duser.language=en
-Duser.region=US




Jazz 웹 자바스크립트 에러 로그를 캡처하는 방법

1. 디버그 모드를 활성화하는 방법

https://host:port/jazz/web/projects/ProjectArea?debug=true#action=com.ibm.team.workitem.viewWorkItem&id=131615

2. Firebug를 통한 javascript 콘솔 로그를 잡는 방법



클라이언트 로그

  • 이클립스 로그 : 작업공간\.metadata\.log


이클립스 영문로그를 캡처하는 방법

\jazz\client\eclipse\eclipe.exe의 바로 가기를 만들고, 바로 가기의 속성창에서
대상에 \jazz\client\eclipse\eclipse.exe -nl en_US 를 추가해 줍니다.



SCM - 소스코드 엑세스 로그

https://jazz.net/wiki/bin/view/Main/SCMScaa


In your RTC deployment, you may wish to log access to the File content in your repository, for traceability rationale. While this support is disabled by default, it can be enabled through the use of log4j.

To enable logging, uncomment the following section from the bottom of of jazz/server/conf/jazz/log4j.properties


#log4j.appender.scm_scaa=org.apache.log4j.RollingFileAppender #log4j.appender.scm_scaa.layout=org.apache.log4j.PatternLayout #log4j.appender.scm_scaa.layout.ConversionPattern=%m %n #log4j.appender.scm_scaa.File=scaa_content.log #log4j.appender.scm_scaa.MaxBackupIndex=10 #log4j.appender.scm_scaa.MaxFileSize=7000KB 
#log4j.logger.scm_scaa=TRACE, scm_scaa


This will create a scaa_content.log file in jazz/server/logs. The log will be rotated between 10 files of 7MB each.
Logging will occur as users access content from the server. Nothing will be written to the logs if there is no user activity.
To process this data for use in another tool, you should convert this configuration FileAppender and pipe the file into the script or program.

The format of the log entries are as follows:


SCAA:{0}/{1},{2},{3},{4}/{5},{6}


where :
  • {0} is the contributor's userid
  • {1} is the item type (in RTC 2.0, most commonly FileItem?)
  • {2} is the last segment of the item's path (Foo.java)
  • {3} is the item's identifier
  • {4} is the item's state or version identifier
  • {5} is the component's name or label
  • {6} is the component's identifier
While there is not a huge overhead to logging content access, the logfiles can grow fairly large quickly. In the default configuration, it may take less than a day for the 10 logfiles to completely rollover, depending on the number of developers and build engines your server hosts.

Jazz 서버 - 로그인/엑세스 로그

-

  • JTS : login information in the server log.
  • Tomcat : \server\tomcat\logs\localhost_access_log.yyyy-mm-dd - pick out some information about login from the tomcat local access log.
  • WAS : C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs 

-