cancel
Showing results for 
Search instead for 
Did you mean: 

Script Snap log output location?

rpatrick00
Contributor

I am executing a python script from the Script snap. When I write to the log object SnapLogic passes to me, where is that output written? I have scoured the /opt/snaplogic/run/log directory on my groundplex but the log entries are not there…

2 REPLIES 2

akidave
Employee
Employee

The log entry will go to the /opt/snaplogic/run/log/jcc.json log file when using the default log configuration, it will look like

{"ts":"2020-09-23T00:14:09.234Z","lvl":"INFO","fi":"PyReflectedFunction.java:190","msg":"Finished executing the Transform script","snlb":"Script","snrd":"446013d4-5d13-432c-8eb5-3cd1a1c3ebec","plrd":"52b32bdbf17d831ac1750257_0b60bf08-d3de-4a89-8eac-ba6da8e3ad55","prc":"Script[52b32bdbf17d831ac1750257_0b60bf08-d3de-4a89-8eac-ba6da8e3ad55 -- 446013d4-5d13-432c-8eb5-3cd1a1c3ebec]","xid":"87424265-d74f-473b-9199-653b0d1562bf"}

where self.log.info("Finished executing the Transform script") was the log call.

Supratim
Contributor III

@rpatrick00 - You can download the log file from dash board just before the completion status, Can choose all/info/warn message.