TEZ-1878. Task-specific log level override not working in certain
conditions. (sseth)
(cherry picked from commit a139989c0b43074514bf936511be4e5111a30344)