Changed log field to static and added exiting info