possibility to force the logging of an entry. Wait behavior replacing sleep in the thread loop.