Skip to content

Conversation

@servantftransperfect
Copy link
Contributor

This pull request introduces logging initialization for the AliceVision Python bindings, ensuring that the logger is set up at module import. The main changes are centered around exposing the logger configuration to Python and initializing it with a default verbosity.

Logging integration and initialization:

  • Exposed a new function initialize_alicevision_logger to Python via SWIG, allowing the log verbosity level to be set from Python (src/aliceVision/system/System.i).
  • Called system.initialize_alicevision_logger("info") during module initialization in src/aliceVision/__init__.py to set the default logging level and print a confirmation message.

@servantftransperfect servantftransperfect added this to the 3.4.0 milestone Jan 14, 2026
@servantftransperfect servantftransperfect changed the title python function for alicevision logger verbose level Enable access to aliceVision logger initialization in python Jan 14, 2026
@servantftransperfect servantftransperfect merged commit aa53377 into develop Jan 15, 2026
1 of 4 checks passed
@servantftransperfect servantftransperfect deleted the dev/loggerPython branch January 15, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants