Fix bug where lager:warn was used instead of lager:warning