[erlang-questions] Common Test logs

Siri Hansen <>
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?

Regards
/siri

2017-02-02 7:52 GMT+01:00 Peter Andersson E <>:

>
> 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,
> Peter
>
> Ericsson AB, Erlang/OTP
>
>
> On 01/30/2017 06:30 PM, Loïc Hoguin wrote:
>
>> Hello,
>>
>> 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
>> automatically.
>>
>> Thanks,
>>
>>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170310/522a935c/attachment.html>


More information about the erlang-questions mailing list