Added optional flag to dump log file always for debugging purposes