Request Logs  Topic is solved

Discussions relating to the REST API of Jiwa 7.

Request Logs

Postby SBarnes » Wed Nov 27, 2019 9:17 am

Is there a way to either stop the web api logging requests or to get it to flush old logs?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Request Logs

Postby Mike.Sheen » Wed Nov 27, 2019 9:25 am

Hi Stuart,

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

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Re: Request Logs

Postby SBarnes » Wed Nov 27, 2019 9:36 am

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.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Request Logs  Topic is solved

Postby SBarnes » Wed Nov 27, 2019 1:07 pm

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.
Attachments
Plugin Attkey Schedule Delete Old Files.xml
(32.89 KiB) Downloaded 66 times
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to REST API

Who is online

Users browsing this forum: No registered users and 1 guest