Include query status in log entries

This commit is contained in:
Raul Ochoa 2016-11-30 16:07:14 +01:00
parent 5ec5b14aa1
commit 9ae62014bd

View File

@ -225,6 +225,7 @@ JobFallback.prototype.log = function(logger) {
username: this.data.user, username: this.data.user,
dbhost: this.data.host, dbhost: this.data.host,
job: this.data.job_id, job: this.data.job_id,
status: query.status,
elapsed: elapsedTime(query.started_at, query.ended_at) elapsed: elapsedTime(query.started_at, query.ended_at)
}; };