java - Recovery deleted log files at logback worked fine on Windows but didn't work on Linux SUSE -


i using slf4j + logback 1.0.12 application logging infrastruction. run application on both windows xp , linux suse os. have scenario following:

i deleted log files when application running. on windows xp logback recovery mechanism worked fine , after passing seconds (about 10 seconds) log files generate again on linux suse log files don't generate again.

my question : why logback recovery mechanism has different behavior on 2 os?

under linux, if process writes file , target file removed, process continues quietly write ghost file. error condition not trigger exception.

this answers why recovery process behavior depends on os.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -