Switch back to the original function usage of flinger, and add a handler hook to override the logging output