[PATCH 1/2] Common: Add print_log_dir method