Update logging snippets