Removed the logging code, it caused the lua to error out since it was loaded before the logging system.