Simple examples to see how logging works