fixed an issue where logging appenders where shut several times if used by multiple loggers, closes #291