Updated to use new style of log level.