+1 I currently extends the erlang.mk clean target : clean:: -@REDACTED logs -type d -mtime +15 -delete but it is only a workaround. The timestamp part of directory name is hardcoded in ct_logs.erl . regards