Azure IoT Edge module log location
Asked Answered
E

2

5

Where are the logs exposed by the iotedge logs <container> command stored?

Where would that be generally on Linux?

Essen answered 11/12, 2018 at 21:59 Comment(0)
L
6

Simply do a docker inspect <Container ID> and under LogPath you will get the current location of the container. E.g. for EdgeHub on my machine: LogPath:

/var/lib/docker/containers/f8ecdf408f94f5627ac635223ce89dd9b1433705f342d548e09863cedf0fc950/f8ecdf408f94f5627ac635223ce89dd9b1433705f342d548e09863cedf0fc950-json.log
Leaves answered 10/3, 2019 at 14:21 Comment(0)
E
2

By default, they are stored in /var/lib/docker/containers//-json.log.

Essen answered 11/12, 2018 at 22:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.