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
Post a Comment