Log problem

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?

I will check and feedback later.

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.

yes yes yes

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.

jetson-logging.txt (684 Bytes)

This is the file

How to check this file?

Or you can check if there are any usable files on your end and send me a copy directly

You config file is right. Suppose logroate will manage the log in /data/logging-volume daily.

Why is this happening?

Logrotate runs automatically via a cron job: $ cat /etc/cron.daily/logrotate

屏幕截图 2025-01-10 145525

The configuration file has a maximum size of 8 GB, and now there are around 20GB available.

Why is this happening?

Is your testing also a log file?

kevin, Is there any response from which side? Or find someone familiar with the Jetson log module in your area and ask them

I am checking with internal team. I will feedback when I get the answer.

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.

How to install jetson-storage? can you give me some tips?