Skip to content

Commit 407a423

Browse files
committed
fix: Universal pipeline
1 parent 5c8ac0f commit 407a423

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/c2pa/lib.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@
1616
# Debug flag for library loading
1717
DEBUG_LIBRARY_LOADING = False
1818

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__)
19+
# Create a module-specific logger with NullHandler to avoid interfering with global configuration
20+
logger = logging.getLogger("c2pa")
21+
logger.addHandler(logging.NullHandler())
2622

2723

2824
class CPUArchitecture(Enum):

0 commit comments

Comments
 (0)