Remove DEBUG log level setting as it breaks other tests
@@ -16,7 +16,6 @@ import com.aws.greengrass.lifecyclemanager.GlobalStateChangeListener;
import com.aws.greengrass.lifecyclemanager.GreengrassService;
import com.aws.greengrass.lifecyclemanager.Kernel;
import com.aws.greengrass.lifecyclemanager.exceptions.ServiceLoadException;
-import com.aws.greengrass.logging.impl.config.LogConfig;
import com.aws.greengrass.mqttclient.MqttClient;
import com.aws.greengrass.mqttclient.PublishRequest;
import com.aws.greengrass.testcommons.testutilities.GGExtension;
@@ -31,7 +30,6 @@ import org.mockito.ArgumentCaptor;
import org.mockito.Captor;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
-import org.slf4j.event.Level;
import software.amazon.awssdk.crt.mqtt.MqttClientConnectionEvents;
import software.amazon.awssdk.crt.mqtt.QualityOfService;
import software.amazon.awssdk.iot.iotjobs.model.JobStatus;
@@ -115,7 +113,6 @@ class FleetStatusServiceTest extends GGServiceTestUtil {
Topic thingNameTopic = Topic.of(context, DEVICE_PARAM_THING_NAME, "testThing");
lenient().when(mockGreengrassService2.getName()).thenReturn("MockService2");
lenient().when(mockGreengrassService1.getName()).thenReturn("MockService");
- LogConfig.getInstance().setLevel(Level.DEBUG);
when(config.lookup(DEVICE_PARAM_THING_NAME)).thenReturn(thingNameTopic);
when(mockDeviceConfiguration.getThingName()).thenReturn(thingNameTopic);
Topic sequenceNumberTopic = Topic.of(context, FLEET_STATUS_SEQUENCE_NUMBER_TOPIC, "0");
