Separate out warnings and errors