Simple example of dynamic hadoop2-metrics logging