公告
财富商城
积分规则
提问
发文
2019-07-24 17:07发布
成全新的幸福
Where are the logs exposed by the iotedge logs <container> command stored?
iotedge logs <container>
Where would that be generally on Linux?
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:
docker inspect <Container ID>
LogPath
EdgeHub
/var/lib/docker/containers/f8ecdf408f94f5627ac635223ce89dd9b1433705f342d548e09863cedf0fc950/f8ecdf408f94f5627ac635223ce89dd9b1433705f342d548e09863cedf0fc950-json.log
By default, they are stored in /var/lib/docker/containers//-json.log.
最多设置5个标签!
Simply do a
docker inspect <Container ID>
and underLogPath
you will get the current location of the container. E.g. forEdgeHub
on my machine:LogPath
:By default, they are stored in /var/lib/docker/containers//-json.log.