capture warnings in system logger