Make logger Closeable
More log and log test work