Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure IoT Edge module log location

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

Where would that be generally on Linux?

like image 969
Jeff Bennett Avatar asked Mar 04 '23 22:03

Jeff Bennett


1 Answers

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
like image 196
Juergen Mayrbaeurl Avatar answered May 27 '23 21:05

Juergen Mayrbaeurl