Is it Possible to See the Log in Fusio App itself

25 views
Skip to first unread message

Ashok Furia

unread,
Jul 13, 2024, 4:49:45 AM7/13/24
to Fusio
Hello,
Greetings for the day
I was wondering if it was possible to have custom Logs for Each API Request.
My Api is Based on 3rd Party Service And Hence Sometimes it happens that there are errors but the same cant be recreated or tracked Effectively.I Was Wondering that is it Possible to Log the Records such as Post data, And The Data Sent from Response somewhere where i can see the same in Fusio Dashboard.

I m new to fusio if certain Functionality Already Exist Please Guide me to a sample code where i can Implement that.
Currently i have Implemented a file Based Logging but it would be easier if i can see the Corresponding response in the app itself.

Christoph Kappestein

unread,
Jul 13, 2024, 5:04:24 AM7/13/24
to Fusio
Hello Ashok,

in general Fusio logs every request and response automatically which you can then see at the Analytics / Log panel. If you want to make custom log entries inside an action we always provide a logger instance s.
which you can use to create log entries inside your action. Those log entries are then available at the log/app.log file.

best regards
Christoph

Ashok Furia

unread,
Dec 18, 2024, 4:25:04 PM12/18/24
to Fusio
actually i can see post but not the response
Reply all
Reply to author
Forward
0 new messages