[c10d] Add requires_gloo decorator to test_logging_init (#56682)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56682
The process group is created on a gloo backend.
Context: https://github.com/pytorch/pytorch/pull/56598#discussion_r618206941
ghstack-source-id: 127150910
Test Plan: buck test caffe2/test/distributed:c10d -- test_logging_init
Reviewed By: pbelevich
Differential Revision: D27936805
fbshipit-source-id: 932efc638f94bdf78ddbae291e3720a20e43f2af