Hello! Does Fleet have it’s own logs? (not result ...
# fleet
a
Hello! Does Fleet have it’s own logs? (not result or status osquery logs) Maybe something like access.log where I can see webhooks or something else?
z
Yeah, the Fleet server outputs its own logs to
stderr
.
a
Hello! Thank you for answer, @zwass! Is it possible to write Fleet logs to file by default? Or we need to use some pipe redirection for this? We use simple systemd unit for Fleet start. And I’m talking now not only about errors, it would be great to see some Fleet users requests to specific handlers, get some audit information, etc. Is it possible?
z
Yep, systemd would handle logging to a file
a
Ok, got it, thanks!
s
@Artem The logs that Fleet generates are also written to
/var/log/daemon.log
you could check if those are the logs you would want.
a
It looks like the new version of Fleet implements the types of logging we need. We will definitely test it. Thank you, guys!