TensorRT Version : 10.3.0.30 GPU Type : Orin (nvgpu) Nvidia Driver Version : 540.4.0 CUDA Version : 12.6.68 CUDNN Version : 9.3.0.75 Operating System + Version : Linux 5.15.148-tegra ubuntu 2024 Ubuntu 22.04.4 LTS Python Version (if applicable) : TensorFlow Version (if applicable) : PyTorch Version (if applicable) : Baremetal or Container (if container which image + tag) :
The maximum log size of Docker Compose files in ai_nvr does not work
Also, may I ask if it is possible to achieve the requirement of storing logs on a daily basis, configuring maximum logs, and compressing them?
logroate will manage the logs. Can you check logroate’s config in: /etc/logrotate.d/jetson-logging? If you don’t see the config file, you need apt-get install nvidia-jetson-services.
The file *.bak won’t be touched as it doesn’t have file extension “.log”. And logrotate timer is triggered once a day. You can check the setting in: /etc/logrotate.d/jetson-logging.
Docker compose native logging feature only works for logs redirected to stdout/stderr. For JPS, most applications log to files at /data/logging-volume. As a result, is no longer manageable be docker logging system defined in compose files.
If redirecting logs to /data/logging-volume, you need to make sure that storage service is running: Storage — Jetson Platform Services documentation. You should check the file permissions and ownerships in /data/logging-volume.