Skip to content

win32: 2 values in internal_options.conf ignored #976

@th0u

Description

@th0u

Both values are read in logcollector/main.c but not in win32/win_agent.c

loop_timeout = getDefine_Int("logcollector",  "loop_timeout", 1, 120);
open_file_attempts = getDefine_Int("logcollector", "open_attempts", 2, 998);

loop_timeout is imho not critical. On win32 it is not critical because
sleep(loop_timeout +2); is used.

open_file_attempts with value "0" leads imho to unnecessary logfile rereads and should be fixed.

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