Use Travis.logger to make sure deprecation message ends up in logs