Title
#fleet
a

Artem

03/29/2021, 4:01 PM
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?
zwass

zwass

03/29/2021, 4:13 PM
Yeah, the Fleet server outputs its own logs to
stderr
.
a

Artem

03/29/2021, 4:19 PM
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?
zwass

zwass

03/29/2021, 4:20 PM
Yep, systemd would handle logging to a file
a

Artem

03/29/2021, 6:33 PM
Ok, got it, thanks!
SK

SK

03/30/2021, 10:13 AM
@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

Artem

04/05/2021, 3:17 PM
It looks like the new version of Fleet implements the types of logging we need. We will definitely test it. Thank you, guys!