OK. Did some digging and it seems that the general logging (apart from
the debug messages which I'm not touching here) is defined in
bareos/core/src/lib/message.cc as
1214 // Generate a Job message
1215 void Jmsg(JobControlRecord* jcr, int type, utime_t mtime, const
char* fmt, ...)
Unfortunately, there are almost 1100 various calls to Jmsg() across the
whole codebase with various different messages - some simple strings,
others - structure-based. And of course most probably, developers of
various plugins can add their own messages. So it's gonna simply be a
trial and error and probably will have to dig through sources on a
per-case need to know basis.
MK