as in ITAM the amount and size of logfiles raises from day to day, it will result in a full disc when you don't manage this. Has anyone already written some script that cleans up old logfiles automatically?
On that note, I've had good luck using some of the suggestions noted in this Stack Overflow thread, specifically the ones that use the forfiles command (though some operating systems don't have that command by default). There's also several related questions if you prefer PowerShell.
Stack Overflow - Batch file to delete files older than N days
I don't have one handy, but have seen some customers write a .bat file that navigates to the appropriate itam directory and then removes, for example, logs older than a specific date.
Should be pretty easy to write a .bat file or powershell script to look for logs and delete logs older than a specified date.
Retrieving data ...