indy-node-container icon indicating copy to clipboard operation
indy-node-container copied to clipboard

Log rotation

Open Echsecutor opened this issue 3 years ago • 1 comments

Currently logs are rotated but kept forever. Investigate how the indy node logging works (which python libs) and how to configure it.

Echsecutor avatar Dec 03 '21 08:12 Echsecutor

Also:

  • limit docker logs
    • https://docs.docker.com/config/containers/logging/configure/
logging:
      driver: "json-file"
      options:
        max-file: "5"
        max-size: "100m"
  • default log level?
    • https://github.com/hyperledger/indy-node-container/blob/main/run/etc_indy/indy_config.py
    • set to 1 and adapt run/README.md

Echsecutor avatar Feb 24 '22 22:02 Echsecutor