Added API to programmaticly enable/disable Shanty logging