Add graph break logging option instead of config flag (#103202)
Make graph break logging a logging option vs a config setting
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103202
Approved by: https://github.com/yanboliang, https://github.com/anijain2305