CartoDB/CartoDB-SQL-API

Job id in logs when the job is created

Opened this issue · 0 comments

Now, looking for the job id in the logs grep sql_api_batch_job log/node-sql-api.log, we are saving the job id in the logs when the user retrive the job, but not when creates it.

[2018-08-08 08:54:45.001] [INFO] console - {"type":"sql_api_batch_job","username":"xxx","action":"retrieve","job_id":"xxx"}
[2018-08-08 07:19:02.404] [INFO] console - {"type":"sql_api_batch_job","username":"xxx","action":"create"}