!7 cmodule RotateModuleLogs > DynEnabled { switchable int max = 500*1000; start { doEveryAndNow(10.0, r { if (!enabled) ret; for (S id : dm_listModuleIDs()) pcall { rotateStringBuffer_gen(callOpt(dm_module(id), '_actualPrintLog), max); } }); } }