logging seems to work correctly and cleanup also seems to work
Fixed typo in manual