pass mesos_framework_name into all log msgs.  move a nested func out of main.main()