added lager for logging, overrides the simple stdout loging in core