Fix simple logging