On 04/08/2009, Adrian Speteanu <[email protected]> wrote: > Hi guys, > I am trying all sorts of methods to generate better logs and better > ways to interpret the data obtained. > > In jmeter.properties, there is this very useful piece of information: > " > # If the filename contains paired single-quotes, then the name is processed > # as a SimpleDateFormat format applied to the current date, for example: > " > I use it like this: log_file='jmeter-logs_'yyyyMMdd'.log'. This makes > a log with current date when first opening JMeter, but if jmeter runs > for more than a day, every new entry is written in that file as well. > > It would be nice if a new file was written every day and I have no > idea how to do this. > So this is my first question, Q1: how to make a new logfile when > yyyyMMdd value changes?
Not possible, the log file is created at startup only. > ________ > > Also and more important, I would also like to use lognotate for the > .jtl files the listener(-s) write. It would be nice to append > 'yyyyMMdd-HH' to the filename and make a new logfile each hour. > Q2: Is this possible? How to... ? > Not possible to rotate log files for the same reason. > I have no idea where to start looking, tried googling it for a while, > but I haven't found anything related to JMeter on this matter. > > --------------------------------------------------------------------- > 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]

