You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
i use the log2ram with docker in the directory /var/lib/docker/containers and the system create a file log log2ram.log in the directory.
Is it possible to change the path of the log ?
in my config file i have : PATH_DISK="/var/log;/var/lib/docker/containers"
and in the log i have this error
raspberrypi dockerd[586]: time="2023-02-20T10:40:34.987013220+01:00" level=error msg="failed to load container" container=log2ram.log error="lstat /var/lib/docker/containers/log2ram.log/config.v2.json: not a directory"
Regards
The text was updated successfully, but these errors were encountered:
pierrotori
changed the title
log if log2ram
log of log2ram in the specific directory
Feb 20, 2023
Currently the log of log2ram is hardcoded next to the current folder to copy : https://github.com/azlux/log2ram/blob/master/log2ram#L128
I didn't expect having an issue in this place since it's already a folder for logs.
Can you explain the issue here (srry, late from 1 year)
Hi
i use the log2ram with docker in the directory /var/lib/docker/containers and the system create a file log log2ram.log in the directory.
Is it possible to change the path of the log ?
in my config file i have : PATH_DISK="/var/log;/var/lib/docker/containers"
and in the log i have this error
raspberrypi dockerd[586]: time="2023-02-20T10:40:34.987013220+01:00" level=error msg="failed to load container" container=log2ram.log error="lstat /var/lib/docker/containers/log2ram.log/config.v2.json: not a directory"
Regards
The text was updated successfully, but these errors were encountered: