Add logging

Why not use the asynchronous path here? what's the point in waiting for append file to finish? Using the async method will make it cheaper to log