Re: Disabling Open pegasus log rotation of cimserver.trc

Devchandra L Meetei <[email protected]> Tue, 15 Apr 2014 08:58:50 +0530
Newsgroups gmane.network.open-pegasus.general
Message-ID <CAKmFMKeztFXZnu+zi4mbst-HcOrgjxnoBx8Mn57=iGRaO=2iPg@mail.gmail.com>
--089e0160bb580ddeba04f70c6649
Content-Type: text/plain; charset=ISO-8859-1

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]> wrote:

>  There should be flags available. Worst case, set rotation to 0, and set
> size limit to infinity =]. 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
> and disable the automatic rotation policy of cimserver.trc as controlled by
> 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
changed the world more than Karl Marx ever did," Steve Jobs

--089e0160bb580ddeba04f70c6649
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<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 <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #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>&nbsp;<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>&nbsp;<u></u></=
span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Arial&quot;,&quot;sans-serif&quot;;color:#006600">traceFileSizeKBytes<u></=
u><u></u></span></b></p>
<h5><span style=3D"font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;col=
or:#006600">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>&nbsp;<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>&nbsp;<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:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Khushboo=
 Sancheti [mailto:<a href=3D"mailto:[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>&nbsp;<u></u></p>
<p class=3D"MsoNormal">Hi,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
<p class=3D"MsoNormal">I&rsquo;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.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>&nbsp;<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>&nbsp;<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>W=
arm Regards<br>--Dev<br>OpenPegasus Developer<br><br>&quot;I&#39;m one of t=
hose people that think Thomas Edison and the light bulb=20
changed the world more than Karl Marx ever did,&rdquo; Steve Jobs<br></div>=
</div>
</div>

--089e0160bb580ddeba04f70c6649--