Break the buffered logging out so it can be reused elsewhere