fix slave logging