allow setting log level; suppress warnings by default