fixed log formatter