Log - where are the files if not redirected?

this is my config :
sudo docker run -d --restart unless-stopped --stop-timeout 300
-p 28969:28967/tcp
-p 28969:28967/udp
-p 14004:14002
-e WALLET=“0xyyyyyyyyyyyyyyyyyyyyyyyyyyyy”
-e EMAIL="phyy@yyyyy.com"
-e ADDRESS=“phyyyyyyyyyyyyyyy:28969”
-e STORAGE=“3.60TB”
–mount type=bind,source=“/mnt/hdd2/identity”,destination=/app/identity
–mount type=bind,source=“/mnt/hdd2/data”,destination=/app/config
–sysctl net.ipv4.tcp_fastopen=3
–log-opt max-size=10m
–log-opt max-file=5
–name storagenode2 storjlabs/storagenode:latest
–operator.wallet-features=zksync-era,zksync

i have had recently :
–log-opt max-size=10m
–log-opt max-file=5 \

i used to do : docker logs --tail 50 storagenode2 to see log

but now, where are the others log-files, how to read them

thanks
best regards

By default, Docker stores log files in a dedicated directory on the host using the json-file log driver. The log file directory is /var/lib/docker/containers/<container_id> on the host where the container is running.

1 Like

thank you @Knowledge ,
I was very close but didn’t get further :upside_down_face:

now, it’s done :+1:

1 Like