Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
recommended Log methods
CRB
Hello,
as the log files of our deployment jobs are growing in size, i wanted to ask the experts about the best way to manage the log files of OpenDeploy, right now i started renaming the log files when they get to 350MB and archive them.
is there an automated way to create new log files everytime a file gets too large? somebody has a script or an effecient/convient way to manage the log files?
i think our log files gets too large because we mainly deploying html pages, datedifference is turned on, and the logging level is verbose.
for now we are on OD 5.6 SP1 on W2k but move on to OD 6.1 W2003 soon.
Find more posts tagged with
Comments
jkm
You can specify the log size in the odbase.xml file. You can try something below
[html]
directory="/opt/software/interwoven/6.0.2sp1/OpenDeployNG/log"
level="verbose"
/>
[/html]
CRB
the interesting is that i have the maxbyte = 2mb in the sender but the log file in the rcvr are larger than 310mb? so i think the maxbyte doesnt for in the recevier log file. and the log file in the sender is not showing up it disppeared for some reason?
also what happens to the log file when it reach the maxbyte specified? does it get deleted or archived somewhere?
CustomPageNofM.rptdesign
jkm
then u need to make similar setting in odrcvr.xml file. odbase doesnt have any control on the rcvr log files.
Another thing you may need to look OD instance while running the deployments. You can configure the od instance parameter so that it should create new log files for each deployment.
CRB
i will, one thing i am thinking about is: what if i set maxbyte int he rcvr to 10MB and just one single deployments makes 50MB of loggin, how is OD gonna manage that? is it gonna stop logging haflway and create new file, and rename files part_1, part_2.. or is it gonna continue loggin in the same file till that one deployment job is finished?
also the one that is receiving the deployment is also an admin and a base for other receivers, so i dont see an ODrcvr.xml in this server. and in the odbase.xml of this server, the log rule are set to
maxBytes="2Mb"
level="verbose"
/>
but in the same server the rcvr.deployemt... log files for the deployments that it receives grew over 310mb
thank s alot for the info and time.
CRB
also to answer Nipper: this is what it is in the log file in the receiver, just hundreds of likes that says ... included, or processing ...
so i think your guess is correct here? that the html content are causing too much loggin? if i change the level of logging from verbose ro normal, would it avoid this kid of long long logs of each deployment?...
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\CompMktOffer_WashDC_Showtime_2.JPG) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\Config-images) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\congratulations_dtv.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_coax.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_component.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_dvi2.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_hdmi.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_hdmi2dvi.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_optical2.jpg) included.
LIB: (3) id=0 2006-11-15 12:45:04 Path(.\images\conn_rca.jpg) included.
-------------------------------------------
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\cti\XTRAS\FLASHASSET)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\certificate\images)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\getting_started)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\images)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\introduction)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\using_the_ondemand_player)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\whdata)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\whgdata)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\help\whxdata)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\preferences\images)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\querydb\ctxex)
LIB: (3) id=0 2006-11-15 12:53:55 Processing excluded directory for (.\cbt\prod\conted\odev85\querydb\ctxod)