Make some expected warnings not show up in the log