Setting logging level of collector to warn.