Open edwardotis opened 7 years ago
On further testing, error level logging works in recurring jobs. However, that's not the same log level as the other non-recurring jobs.
could you provide a sample project to reproduce that? i see info, warn and error logs in our logfiles at this very moment coming from all kinds of jesque jobs.
Hi peh,
My logback.groovy was set to just log 'grails.app'. This worked with the non-recurring jobs.
logger('grails.app', DEBUG, ['STDOUT'], false)
As a workaround, I added my core package name explicitly to my logback config, and now debug statements are working in the recurring jobs.
logger('com.mypackagename', DEBUG, ['STDOUT'], false)
version 1.2.1 grails 3.1.16
Logging works fine in regular jobs, but is failing silently in recurring jobs.