On second thought I am that the file is flushed. It is ensured with "handler.CLIFILE.autoFlush=true" in logging config file.