Skip to content

Commit fd9b0cc

Browse files
disabling logging
1 parent 60ac1c6 commit fd9b0cc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

contentctl/objects/content_versioning_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
from contentctl.objects.correlation_search import ResultIterator
1717
from contentctl.objects.detection import Detection
1818

19-
# TODO (cmcginley): suppress logging
2019
# Suppress logging by default; enable for local testing
21-
ENABLE_LOGGING = True
20+
ENABLE_LOGGING = False
2221
LOG_LEVEL = logging.DEBUG
2322
LOG_PATH = "content_versioning_service.log"
2423

contentctl/objects/correlation_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
from splunklib.results import JSONResultsReader, Message # type: ignore
1313
from tqdm import tqdm # type: ignore
1414

15-
from contentctl.actions.detection_testing.progress_bar import format_pbar_string # type: ignore
1615
from contentctl.actions.detection_testing.progress_bar import (
1716
TestingStates,
1817
TestReportingType,
18+
format_pbar_string, # type: ignore
1919
)
2020
from contentctl.helper.utils import Utils
2121
from contentctl.objects.base_test_result import TestResultStatus
@@ -33,7 +33,7 @@
3333
from contentctl.objects.risk_event import RiskEvent
3434

3535
# Suppress logging by default; enable for local testing
36-
ENABLE_LOGGING = True
36+
ENABLE_LOGGING = False
3737
LOG_LEVEL = logging.DEBUG
3838
LOG_PATH = "correlation_search.log"
3939

0 commit comments

Comments
 (0)