Re: Disabling Open pegasus log rotation of cimserver.trc
Khushboo Sancheti <[email protected]> Tue, 15 Apr 2014 05:10:11 +0000
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <CF720D18.12C8F%[email protected]> |
--_000_CF720D1812C8Fkhushboonimblestoragecom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Perfect, thanks for the responses. I=92ll try out log rotate =96 if it over= rides the defaults then that should work. Thanks, Khushboo From: Devchandra L Meetei <[email protected]<mailto:[email protected]>> Date: Monday, April 14, 2014 at 8:28 PM To: Johnny Hwang <[email protected]<mailto:[email protected]>> Cc: Microsoft Office User <[email protected]<mailto:khushboo@nimbl= estorage.com>>, "[email protected]<mailto:[email protected]= >" <[email protected]<mailto:[email protected]>> Subject: Re: Disabling Open pegasus log rotation of cimserver.trc The flags Johnny pointed out is available on 2.13 and above. As you are on = 2.12. You can use logrotate to override the default rotating at 2GB On Tue, Apr 15, 2014 at 3:31 AM, Johnny Hwang <[email protected]<mailto:jhw= [email protected]>> wrote: There should be flags available. Worst case, set rotation to 0, and set siz= e limit to infinity =3D]. You might need to tweak the source code a bit. Run-time flags: traceFileSizeKBytes numberOfTraceFiles You can always tweak the default values in the source code. Hope this helps, Johnny Hwang From: Khushboo Sancheti [mailto:[email protected]<mailto:khushboo@= nimblestorage.com>] Sent: Monday, April 14, 2014 2:58 PM To: [email protected]<mailto:[email protected]>; Karl Schop= meyer Subject: Disabling Open pegasus log rotation of cimserver.trc Hi, I=92d like to have logrotate control the rotation of the cimserver.trc file= and disable the automatic rotation policy of cimserver.trc as controlled b= y Open Pegasus. I could not find an environment variable or build time flag= or cimconfig command to achieve this. Any ideas on how to go about this? I am using version 2.12. Thanks! Khushboo -- Warm Regards --Dev OpenPegasus Developer "I'm one of those people that think Thomas Edison and the light bulb change= d the world more than Karl Marx ever did,=94 Steve Jobs --_000_CF720D1812C8Fkhushboonimblestoragecom_ Content-Type: text/html; charset="Windows-1252" Content-ID: <[email protected]> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami= ly: Calibri, sans-serif;"> <div>Perfect, thanks for the responses. I=92ll try out log rotate =96 if it= overrides the defaults then that should work.</div> <div><br> </div> <div>Thanks,</div> <div>Khushboo</div> <div><br> </div> <span id=3D"OLK_SRC_BODY_SECTION"> <div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b= lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:= 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;= BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> <span style=3D"font-weight:bold">From: </span>Devchandra L Meetei <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>><br> <span style=3D"font-weight:bold">Date: </span>Monday, April 14, 2014 at 8:2= 8 PM<br> <span style=3D"font-weight:bold">To: </span>Johnny Hwang <<a href=3D"mai= lto:[email protected]">[email protected]</a>><br> <span style=3D"font-weight:bold">Cc: </span>Microsoft Office User <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>>= , "<a href=3D"mailto:[email protected]">pegasus-l@openpegasus.= org</a>" <<a href=3D"mailto:[email protected]">pegasus-l@op= enpegasus.org</a>><br> <span style=3D"font-weight:bold">Subject: </span>Re: Disabling Open pegasus= log rotation of cimserver.trc<br> </div> <div><br> </div> <div> <div> <div dir=3D"ltr">The flags Johnny pointed out is available on 2.13 and abov= e. As you are on 2.12. You can use logrotate to override the default rotati= ng at 2GB <br> </div> <div class=3D"gmail_extra"><br> <br> <div class=3D"gmail_quote">On Tue, Apr 15, 2014 at 3:31 AM, Johnny Hwang <s= pan dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= m</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div link=3D"blue" vlink=3D"purple" lang=3D"EN-US"> <div> <p class=3D"MsoNormal"><span style=3D"color:#1f497d">There should be flags = available. Worst case, set rotation to 0, and set size limit to infinity = =3D]. You might need to tweak the source code a bit.<u></u><u></u></span></= p> <p class=3D"MsoNormal"><span style=3D"color:#1f497d"><u></u> <u></u></= span></p> <p class=3D"MsoNormal"><span style=3D"color:#1f497d">Run-time flags:<u></u>= <u></u></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1f497d"><u></u> <u></u></= span></p> <p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-family: Aria= l, sans-serif; color: rgb(0, 102, 0);">traceFileSizeKBytes<u></u><u></u></s= pan></b></p> <h5><span style=3D"font-family: Arial, sans-serif; color: rgb(0, 102, 0);">= numberOfTraceFiles<u></u><u></u></span></h5> <p class=3D"MsoNormal"><span style=3D"color:#1f497d">You can always tweak t= he default values in the source code. <u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1f497d"><u></u> <u></u></= span></p> <p class=3D"MsoNormal"><span style=3D"color:#1f497d">Hope this helps,<u></u= ><u></u></span></p> <div> <p class=3D"MsoNormal"><span style=3D"color:#1f497d">Johnny Hwang<u></u><u>= </u></span></p> </div> <p class=3D"MsoNormal"><span style=3D"color:#1f497d"><u></u> <u></u></= span></p> <div> <div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in = 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-family: Taho= ma, sans-serif;">From:</span></b><span style=3D"font-size: 10pt; font-famil= y: Tahoma, sans-serif;"> Khushboo Sancheti [mailto:<a href=3D"mailto:khushb= [email protected]" target=3D"_blank">[email protected]</a>] <br> <b>Sent:</b> Monday, April 14, 2014 2:58 PM<br> <b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">p= [email protected]</a>; Karl Schopmeyer<br> <b>Subject:</b> Disabling Open pegasus log rotation of cimserver.trc<u></u>= <u></u></span></p> </div> </div> <div> <div class=3D"h5"> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">Hi,<u></u><u></u></p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">I=92d like to have logrotate control the rotation of= the cimserver.trc file and disable the automatic rotation policy of cimser= ver.trc as controlled by Open Pegasus. I could not find an environment vari= able or build time flag or cimconfig command to achieve this.<u></u><u></u></p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">Any ideas on how to go about this? I am using versio= n 2.12.<u></u><u></u></p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">Thanks!<u></u><u></u></p> <p class=3D"MsoNormal">Khushboo<u></u><u></u></p> </div> </div> </div> </div> </blockquote> </div> <br> <br clear=3D"all"> <br> -- <br> <div dir=3D"ltr"> <div>Warm Regards<br> --Dev<br> OpenPegasus Developer<br> <br> "I'm one of those people that think Thomas Edison and the light bulb c= hanged the world more than Karl Marx ever did,=94 Steve Jobs<br> </div> </div> </div> </div> </div> </span> </body> </html> --_000_CF720D1812C8Fkhushboonimblestoragecom_--