Added logging levels.