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
On 16.11.2022 08:50, Spadajspadaj wrote:
Hi
I'm trying to ingest logs from Bareos to Splunk (the actual
destination is not that important here but it's just to put the
question in context).
Is there any summary/specification of what and how Bareos logs? Or do
I have to either do a "try and see" approach or dig through the
sources (just core/src/lib or the whole source)?
I assume that if there are any third-party plugins the authors might
have chosen to log anything in any possible format but I'd like to
have at least the most typical events parsed.
MK
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/3d6ff7c6-4d6e-12a2-d484-c213d914b1c2%40gmail.com.