Add stdout logging