silly snippets to insert logging commands