Configuring Log4j on Apache and Documentum Content Server
-
Upload
abctester2552 -
Category
Documents
-
view
257 -
download
1
Transcript of Configuring Log4j on Apache and Documentum Content Server
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
1/16
Wave TSG Best Practices
Configuring Log4j on Apache and DocumentumContent Server
Author Fred Hyun
Date 10/31/2011
Version 1.0
www.wave-tsg.com
8805 Research Dr., Suite 100
Irine, !A "2#18
$888% #"#&'AV(
http://www.wave-tsg.com/http://www.wave-tsg.com/ -
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
2/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
evision ! Sign"off Sheet
!hane Record
Date Author Version !hane Re+erence
10/31/2010 Fred Hyun 1.0 Initia Dra+t
Reieers
4ae Version Aroed osition Date
Distri6ution
4ae osition
'AV( )echnooy Soutions *rou ae i Reision 1.0
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
3/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
CONTENTS
#$% &PDAT' L(G4) (* APAC+'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ #
1. 7date 'e6to -o.roerties........................................................................................1
,$% &PDAT' L(G4) (* C(*T'*T S'-' A*D )A-A .'T+(D S'-'$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$4
2.1 Shutdon aa 9ethod Serer...........................................................................................
2.2 7date $Docuentu:con+i% aa 9ethod Serer -o.roerties...............................5
2.3 7date $;
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
4/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
#$% &PDAT'L(G4)(*APAC+'
#$ &PDAT'W'BT(P L(G4)$P(P'T/'S
;rose to the +ooin ocation in 'indos (=orer>
?DRIV(@>:?)
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
5/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
Add the +ooin ines o+ code $B(LD% a+ter the LAST 'D L/*' B'L(W
1. !oy the ine o+ code startin +ro B (na6e o essaes +ro IV acEaesC
2. 9odi+y the directory $-isted 6eo in GREEN% o+ the o +ie to atch the 0D/-' L'TT'1and0T(.CAT D/'CT(21on the serer.
'3A.PL' " STAG' S'-' D/'CT(2
D56Tomcat67ogs6/-$7og
D56Tomcat67ogs6/-8Wave$7og
7og4j$rootCategor9:WA*; fi7e; stdout
7og4j$categor9$.&T':(
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
6/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
7og4j$appender$/-Appender$.add .. 9999 ++5mm5ss? =p =c =m =n
'naH7e 7og messages from Wave pacFages
7og4j$7ogger$com$Iave:D'B&G;WaveAppender
7og4j$additivit9$com$Iave:fa7se
7og4j$appender$WaveAppender:org$apache$7og4j$o77ing
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
7/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
,$% &PDAT'L(G4)(*C(*T'*TS'-'A*D)A-A.'T+(DS'-'
2 S+&TD(W*)A-A.'T+(DS'-'
a. -oin to the Docuentu !ontent Serer. $ie., IVSVA21%
6.
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
8/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
2 2 &PDAT'KD(C&.'*T&.5C(*
?DRIV(@>:Docuentu:con+i:
Bo.roertiesC
'AV( )echnooy Soutions *rou ae 5 Reision 1.0
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
9/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
1. !oy the ine o+ code startin +ro B 'naH7e 7og messages from /- pacFageM
2. 9odi+y the directory $-isted 6eo in GREEN% o+ the o +ie to atch the 0D/-' L'TT'1and0Documentum D/'CT(21on the serer.
'3A.PL' " STAG' S'-' D/'CT(2 K.aFe sure the fi7e name is iv$7og
e56Documentum67ogs6iv$7og
ease eri+y the directory 6y coarin to the e=istin directories in the o.roerties +ies>
'3A.PL'> 7og4j$appender$
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
10/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
7og4j$appender$
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
11/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
2 3 &PDAT'K)B(SS )A-A.'T+(DS'-' L(G4)$P(P'T/'S
;rose to the +ooin ocation in 'indos (=orer>
?DRIV(@>: Docuentu:6oss.2.0:serer:DctSerer9ethodSerer:deoy:SererAs.ear:A&I4F:casses
Bo.roertiesC
'AV( )echnooy Soutions *rou ae 8 Reision 1.0
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
12/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
1. !oy the ine o+ code startin +ro B 'naH7e 7og messages from /- pacFageM
2. 9odi+y the directory $-isted 6eo in GREEN% o+ the o +ie to atch the 0D/-' L'TT'1and0Documentum D/'CT(21on the serer.
'3A.PL' " STAG' S'-' D/'CT(2
e56Documentum67ogs6iv$7og
ease eri+y the directory 6y coarin to the e=istin directories in the o.roerties +ies>
'3A.PL'> 7og4j$appender$
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
13/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
7og4j$appender$ACS8L(G$
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
14/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
2 4 'STAT)A-A.'T+(DS'-'
!icE on BStart SericeC +or the Docuentu aa 9ethod Serer.
*(T' The )ava .ethod Server Ii77 taFe a feI minutes to start up$
2 5 'STATT+'D(CBAS'
!icE on 'indos BStart @ A roras @ Docuentu @ Docuentu Serer 9anaer
'AV( )echnooy Soutions *rou ae 11 Reision 1.0
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
15/16
-
8/12/2019 Configuring Log4j on Apache and Documentum Content Server
16/16
'ae )S* !on+iurin -o on Aache and Docuentu !ontent Serer
'AV( )echnooy Soutions *rou ae 13 Reision 1.0