Fixed mvc logging.