set severity at runtime