Updated logging examples.