[erlang-questions] Common Test logs

Peter Andersson E <>
Thu Feb 2 07:52:36 CET 2017


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,
>




More information about the erlang-questions mailing list