removed Logger output parameter -> always do output!
make sure used constants are defined
make sure directory is given
inverted Logger parameter order
use logger methods instead of own prefixing
fixed shutdowns on errors
adjusted logging calls to new parameter order and count