Reattaching to deleted and recreated log file

Guest on Nabble: Marcus

Suppose I have set up a file receiver and the log file gets deleted from disk, and then recreated. Is there a way to get Log4view to re-open that file and receive from it, without having to remove and add the receiver again?

Regards

Marcus

Hi Marcus,

this should be OK for Log4View as it is a similar scenario to rolling log files.
Log4View is able to detect a file rollover and contnues reading log messages from the newly created log file.

Regards

Ulrich

Guest on Nabble: Marcus

Hi Ulrich,

thanks for your reply. I’m using 12.7.0.862 and I can reproduce the mentioned behavior (regardless if by design or not) as follows:

  1. Open an existing log file by adding a file receiver. No software writing into that log file is running at this point.
  2. Delete the log file
  3. Start a process that creates and writes into the logfile
  4. No new log messages get received by Log4view

Kind regards

Marcus

This is still not working in V2 (1.2.1.1341).