LOG management

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 :wink:


Do you need the log-level you are on?

You can reducing logging in the config file:

Options are:

  • error
  • warning
  • info
  • debug
  • trace
1 Like

Thanks this suites my needs

How simple sometimes :wink:

also, you could try logrotate; its a linux daemon but there are windows equivalents: https://sourceforge.net/p/logrotatewin/wiki/LogRotate/

1 Like

And you can switch log levels on the fly with AMCP commands:

Also this powershell script looks quite light weight: