some simple logging examples