Log All API Calls

HarryMuscle

Contributor
Joined
Nov 15, 2021
Messages
161
Does TrueNAS Scale have any kind of debug mode that allows logging all API calls made by the GUI or any other source?

Thanks,
Harry
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Have you looked in /var/log/middlewared.log?
 

HarryMuscle

Contributor
Joined
Nov 15, 2021
Messages
161
Have you looked in /var/log/middlewared.log?
I did but unfortunately it only contains information when an API call fails. I was hoping there might be a flag or setting that can be set somewhere so that the TrueNAS middleware would log all API calls to this log file (or anywhere else).

Thanks,
Harry
 
Top