Add python-mode logging snippets.