Silly question: where is fleet storing logs for th...
# fleet
d
Silly question: where is fleet storing logs for the UI webserver (apart from streaming them as kubernetes logs via the container)? Where do we specify where we want these logs to go etc?
k
Hi @Daniel! Fleet sends logs to
stdout
and
stderr
. If you’d like to pipe them to a file, that’s definitely doable. You’d just need to alter your startup command. Here’s an example:
fleet <flags> &> fleet_logs.txt
And some additional info that might be helpful: https://linuxhint.com/redirect-stdout-and-stderr-to-file/
m
Fleet logs to stderr and does does not currently support other logging backends. You could use something like fluentd to collect logs in k8s from your pods and send them to aws cloudwatch or another logging backend.
d
yep no drama, thanks for the replies guys!