Log Entry by manually

Hi ,
Is there any way to write query to add data to logs in ignition gateway page?


Why ? What are you trying to log ?

I am trying log some information from external source.

like this
params = {'app':'Docker','app_host':'uki-001','act_perform':'pipeline1','act_target':'db003','act_value':'true'}

i am using API to do that but i am getting 500 error

Any reason you can’t use a logger in a script ?

logger = system.util.getLogger('dataFromSomeSource')
logger.info("your data")

I will check and let u know the reason

Is that query i return is wrong?

Considering that logs are stored in plain text files, I don’t think there is a right query.

Also note that logs are not there to store data.