Fix logger
Unnessary logging
Prevent double close
Unnessary logging
Cosmetic
Improve logging
Fixes #1402