Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracking.log cannot be trusted anymore #9

Open
eazaika opened this issue Nov 10, 2020 · 0 comments
Open

tracking.log cannot be trusted anymore #9

eazaika opened this issue Nov 10, 2020 · 0 comments

Comments

@eazaika
Copy link

eazaika commented Nov 10, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant