-
Notifications
You must be signed in to change notification settings - Fork 75
Description
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