Set warning levels.