Added max deph of recurion in log file