Logging in example app.