[erlang-questions] Common Test logs
Fri Mar 10 15:41:20 CET 2017
Hi, I've started looking at this and I wonder how the limit should best be
specified. Should it be
* keep N log directories
* keep N log directories per 'test name'
* keep all log directories with timestamps newer than a given datetime
* keep all log directories with timestamps newer than a number of days,
hours, minutes, seconds back in time?
Any thoughts or wishes?
2017-02-02 7:52 GMT+01:00 Peter Andersson E <peppe@REDACTED>:
> Hi Loïc,
> This seems lika quite a useful feature, and a reasonable one to implement.
> I'll add a ticket for it!
> Best regards,
> Ericsson AB, Erlang/OTP
> On 01/30/2017 06:30 PM, Loïc Hoguin wrote:
>> I am looking for a Common Test option that allows me to restrict the
>> number of logs Common Test keeps around.
>> In practice I don't always care about the test runs I did last month, I
>> only want the 10 or so most recents. I would like to configure Common Test
>> so that it deletes older runs automatically. Today I eventually "rm -rf
>> logs" when it gets too big, but it would be good if I didn't have to think
>> about it.
>> Is there such an option (perhaps undocumented) and if not, can it be
>> considered adding it? This way when ct_run starts it can cleanup
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions