Hi All
Does anyone perhaps have a nice script to manage the size of the log.
I am working with base64 images in the template data on the moment which flood the log file.
just deleting it every hour is a option but not very elegant
LS
maurice
Hi All
Does anyone perhaps have a nice script to manage the size of the log.
I am working with base64 images in the template data on the moment which flood the log file.
just deleting it every hour is a option but not very elegant
LS
maurice
Do you need the log-level you are on?
You can reducing logging in the config file:
<log-level>error</log-level>
Options are:
Thanks this suites my needs
How simple sometimes
also, you could try logrotate; its a linux daemon but there are windows equivalents: https://sourceforge.net/p/logrotatewin/wiki/LogRotate/
And you can switch log levels on the fly with AMCP commands:
LOG LEVEL debug
Also this powershell script looks quite light weight:
https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Script-to-Roll-a96ec7d4