In general, in one aspect, the invention relates to a method for enabling enhanced logging. The method includes obtaining a log associated with a job; determining, using the log, that enhanced logging is to be enabled prior to initiating the job; enabling, in response to the determination, enhanced logging on at least one node, and initiating servicing of the job, after the enabling, on the at least one node.