Made logger "synchronous"