Some changes for file logger

Signed-off-by: DVKoshel <dvkoshel@gmail.com>