Fix for Bug 443770 - Logging doesn’t write to log file.

Rework on EngineLogger.

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>