Fix Logger.log/2 not to raise on Logger exit
Update Logger mode after configuration

Compute mode after configure as possible mode should change.
Merge pull request #2736 from fishcakez/logger_stopped_exit

Fix Logger.log/2 not to raise on Logger exit