Skip to content

tracking.log cannot be trusted anymore #9

Open
@eazaika

Description

@eazaika

Ironwood.master, pyinotify==0.9.6
After packing to gz log file and creating new it crashes

ERROR:pyinotify:The pathname '/edx/var/log/tracking/tracking.log' of this watch <Watch wd=1 path=/edx/var/log/tracking/tracking.log mask=3074 proc_fun=None auto_add=False exclude_filter=<function <lambda> at 0x7f678ce891b8> dir=False > has probably changed and couldn't be updated, so it cannot be trusted anymore. To fix this error move directories/files only between watched parents directories, in this case e.g. put a watch on '/edx/var/log/tracking'.
ls -la -u /edx/var/log/tracking/
total 5012
drwxr-xr-x  2 root   root    16384 ноя 10 16:44 .
drwxr-xr-x 19 syslog syslog   4096 ноя 10 07:17 ..
-rw-r-----  1 syslog adm    214514 ноя 10 16:46 tracking.log
-rw-r-----  1 syslog adm     32212 ноя 10 16:16 tracking.log-20201110-1605014221.gz
-rw-r-----  1 syslog adm     34602 ноя  9 14:16 tracking.log-20201109-1604920621.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions