Modifier the logger to be asynchronous