JMeter has been updated to support the configuration manager provided by
Excalibur-logger, and should find its way into the nightly jars in a day or
so.

For details, have a look in jmeter.properties and logkit.xml.
[Basically just define the property log_config as the name of the config
file.]

Note that this has not been thoroughly tested, but it does seem to work.

The configuration only happens at startup if the config file is found and
parsed OK, so does not affect existing log setup.

Any volunteers to try this out?
And if anyone wants to update the WIki page so others can benefit from your
experience, please do so.

S.
-----Original Message-----
From: BAZLEY, Sebastian 
Sent: 19 March 2004 13:04
To: 'JMeter Users List'
Subject: RE: JMeter log file - Roll over option


JMeter currently uses Avalon LogKit:

http://avalon.apache.org/logkit/index.html

This does seem to offer log file rotation of various kinds.
I'm not sure how one sets this up - it may just be a question of setting
some properties, or it may mean changes to the way the Logger is created.

Sorry, I don't have time to investigate this further at the moment.

If it turns out to be just a question of setting properties, please post
here and/or on the JMeter Wiki (http://wiki.apache.org/jakarta-jmeter/ -
I've started a new page for logging details at
http://wiki.apache.org/jakarta-jmeter/JMeterLogging)

If it needs code, then if anyone wants to create a Bugzilla enhancemement
and upload a suitable patch file, I'm sure I or one of the other committers
would be able to apply it.

S.
-----Original Message-----
From: BIJUMON RAMACHANDRAN [mailto:[EMAIL PROTECTED]
Sent: 18 March 2004 16:09
To: JMeter Users List
Subject: Re: JMeter log file - Roll over option


Hallo,

   May be Checking "Log Errors Only" in Write Data to
File section will help ....

regards
biju 
--- Eda Srinivasareddy <[EMAIL PROTECTED]> wrote:
> Hi All
>  
> Is there a way to roll over jmeter.log?
>  
> It is very much required for me when I run the test
> for longer durations say 1 day, because of the
> exceptions thrown during execution the size of the
> log file is becoming around 1 GB. There by it became
> very difficult to analyze the exceptions logged in
> the log file.
>  
> If such a roll over property is there, where is this
> property located?
>  
> Thanks & Regards
> Eda
> 
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


___________________________________________________________________________

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to
maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___________________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to