Hello,
from log error file of process that i's updating in append mode, i need to capture the new entries for every day.
How i can know and save only the new errors?
This it's a sample of error log file (oas report server engine)
Either leverage the append mode of the write and trim off the log daily (append, or >>, will create the target file if not present, or it would just append if zero bytes), or you'd want to set another process to watch the log via tail (ie, tail -f)...