Fix logging
Version 0.8