Skip to content

start_position issue #212

@kayrus

Description

@kayrus
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions