Page 1 of 1

Request Logs

PostPosted: Wed Nov 27, 2019 9:17 am
by SBarnes
Is there a way to either stop the web api logging requests or to get it to flush old logs?

Re: Request Logs

PostPosted: Wed Nov 27, 2019 9:25 am
by Mike.Sheen
Hi Stuart,

There is a system setting - "DebugMode" - set that to False to stop request logging.

Mike

Re: Request Logs

PostPosted: Wed Nov 27, 2019 9:36 am
by SBarnes
Hi Mike,

I might have a go at putting together a scheduled plugin that will flush old logs, when I find a moment.

I'll post it back here when I do.

Re: Request Logs  Topic is solved

PostPosted: Wed Nov 27, 2019 1:07 pm
by SBarnes
The attached plugin will flush a specified directory including sub directories that are older than a given number of days, both set in system settings, be warned I haven't tested it.