Skip to content

Lost information after redirect the log #11

@trungkien1991

Description

@trungkien1991

I'm using command "reredirect -m /tmp/logfile.txt PID" for redirect log of the application to logfile.txt. But I was checked the log file after short time. Some information of the log file is lost. Example:
Log file before:
[20180806 19:00] String in log file
[20180806 19:01] String in log file
[20180806 19:02] String in log file
[20180806 19:03] String in log file
New log file in the short time when I get from the log file:
[20180806 19:01] String in log file
[20180806 19:02] String in log file
[20180806 19:03] String in log file
[20180806 19:04] String in log file
[20180806 19:05] String in log file
=>The string "[20180806 19:00] String in log file" is lost after redirect in the short time.
The log only store between 24h. If the log has two string the same time, reredirect will remove one string.
Please help me to check the issue. Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions