reworked logging for logrus