-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Milestone
Description
start_position: end
doesn't make sense as beaver tries to read file from start.
I've just run
strace beaver -d -c /etc/beaver/conf -t redis
and noticed that beaver tries to read my /var/log/messages from start:
lseek(5, 0, SEEK_CUR) = 0
... ... ...
read(5, "Feb 15 07:59:58 localhost syslog"..., 4096) = 4096
head -1 /var/log/messages
Feb 15 07:59:58 localhost syslog-ng[4219]: syslog-ng starting up; version='3.2.5'
I have another 610M log file and every time I start beaver it tries to read it from the beginning.