-
Notifications
You must be signed in to change notification settings - Fork 11
tail rotated log files #5
Comments
Hi! |
log dir was attached to docker with exporter, and on host machine was made:
exporter writed to log:
when insert needed lines to new file then counter in localhost:9178/metrics doesn't add up also I reproduced it without docker on my machine thanks! |
Hm, that is odd. I wonder if it is something to do with the permissions being wrong initially? I've been using |
maybe logrotate worked with truncate but not mv? maybe cause is somewhere in here: |
Sorry that this has been hanging open for a while. I've spent a bit of time investigating this now, and the root of the issue appears to be a few layers down, in the fsnotify library: fsnotify/fsnotify#194. |
Hello!
Does stream_exporter tail mode supports file rotation?
I tried to attach log directory and made tail to one of them.
Then file was rotated, after that tail filter did not reacted on trigger words not in new log file nor in rotated.
The text was updated successfully, but these errors were encountered: