Small logging improvements.