RE: Disabling Open pegasus log rotation of cimserver.trc
Johnny Hwang <[email protected]> Mon, 14 Apr 2014 22:01:45 +0000
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <D4807E0100045243873A9B26E6510FAC10E66E74@mbx025-w1-ca-2.exch025.domain.local> |
--_000_D4807E0100045243873A9B26E6510FAC10E66E74mbx025w1ca2exch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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]] Sent: Monday, April 14, 2014 2:58 PM To: [email protected]; Karl Schopmeyer Subject: Disabling Open pegasus log rotation of cimserver.trc Hi, I'd like to have logrotate control the rotation of the cimserver.trc file a= nd disable the automatic rotation policy of cimserver.trc as controlled by = Open Pegasus. I could not find an environment variable or build time flag o= r cimconfig command to achieve this. Any ideas on how to go about this? I am using version 2.12. Thanks! Khushboo --_000_D4807E0100045243873A9B26E6510FAC10E66E74mbx025w1ca2exch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} h5 {mso-style-priority:9; mso-style-link:"Heading 5 Char"; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:10.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.Heading5Char {mso-style-name:"Heading 5 Char"; mso-style-priority:9; mso-style-link:"Heading 5"; font-weight:bold;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <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.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">Run-time flags:<o:p></= o:p></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></p> <p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto"><b><span style=3D"font-size:10.0pt;font-family:"Arial",&= quot;sans-serif";color:#006600">traceFileSizeKBytes<o:p></o:p></span><= /b></p> <h5><span style=3D"font-family:"Arial","sans-serif";col= or:#006600">numberOfTraceFiles<o:p></o:p></span></h5> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">You can always tweak t= he default values in the source code. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">Hope this helps,<o:p><= /o:p></span></p> <div> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">Johnny Hwang<o:p></o:p= ></span></p> </div> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></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:10.0pt;font-family:"= ;Tahoma","sans-serif"">From:</span></b><span style=3D"font-s= ize:10.0pt;font-family:"Tahoma","sans-serif""> Khushboo= Sancheti [mailto:[email protected]] <br> <b>Sent:</b> Monday, April 14, 2014 2:58 PM<br> <b>To:</b> [email protected]; Karl Schopmeyer<br> <b>Subject:</b> Disabling Open pegasus log rotation of cimserver.trc<o:p></= o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Hi,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">I’d like to have logrotate control the rotatio= n of the cimserver.trc file and disable the automatic rotation policy of ci= mserver.trc as controlled by Open Pegasus. I could not find an environment = variable or build time flag or cimconfig command to achieve this.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Any ideas on how to go about this? I am using versio= n 2.12.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Thanks!<o:p></o:p></p> <p class=3D"MsoNormal">Khushboo<o:p></o:p></p> </div> </body> </html> --_000_D4807E0100045243873A9B26E6510FAC10E66E74mbx025w1ca2exch_--