ThingsIXFoundation / packet-handling

This repository contains the code that handles LoRa packets for the ThingsIX network
Apache License 2.0
2 stars 5 forks source link

Monitoring activity inside docker container #25

Closed pe1mew closed 1 year ago

pe1mew commented 1 year ago

Is there a way to monitor activity of a forwarder in a docker container and get similar information to when using the container in the foreground? for example monitoring the logging?

timcooijmans commented 1 year ago

If you are using a docker-container you can use the build-in docker logs command. For example: docker logs forwarder. This command also has "follow" support with -f

pe1mew commented 1 year ago

Thanks for pointing at it. The following command is best for me:

 docker logs thingsix-forwarder -n 10 -f