We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4dc3831 + 48f817a commit 4e1fb99Copy full SHA for 4e1fb99
src/c2pa/lib.py
@@ -16,13 +16,9 @@
16
# Debug flag for library loading
17
DEBUG_LIBRARY_LOADING = False
18
19
-# Configure logging
20
-logging.basicConfig(
21
- level=logging.INFO,
22
- format='%(asctime)s - %(levelname)s - %(message)s',
23
- force=True # Force configuration even if already configured
24
-)
25
-logger = logging.getLogger(__name__)
+# Create a module-specific logger with NullHandler to avoid interfering with global configuration
+logger = logging.getLogger("c2pa")
+logger.addHandler(logging.NullHandler())
26
27
28
class CPUArchitecture(Enum):
tests/fixtures/files-for-reading-tests/C_with_CAWG_data.jpg
-53.5 KB
0 commit comments