Skip to content

Conversation

@lachlangrose
Copy link
Member

@lachlangrose lachlangrose commented Oct 30, 2024

Adds in the framework for using python logging in map2loop.

I have replaced a lot of print statements with logging and added some info logging statements to help debug map2loop. Logging can either be to the console or could be saved to a file. To change the level of logging there is a helper function map2loop.logging.set_level('info') for logging info level statements. Default is 'warning'.

@lachlangrose lachlangrose requested review from AngRodrigues and rabii-chaarani and removed request for AngRodrigues November 10, 2024 23:56
@AngRodrigues AngRodrigues merged commit e6aa3e9 into master Nov 19, 2024
32 checks passed
@AngRodrigues AngRodrigues deleted the fix/add-logging branch January 5, 2025 22:37
noellehmcheng pushed a commit that referenced this pull request May 29, 2025
* Adding utils to get logger for file name and set logging levels

* adding logging calls to project/map_data for debugging

* fix: fault topology merge was using incorrect lookups

* adding logging to def history and m2l wrapper

* fix: run map2model for user defined stratigraphic column

* removing logger from this pr

* fix: use fault id not Fault_{id}

* adding more logging for config and mapdata

* logging for m2m inputs

* linting

* fix: missing label in structurepoint thickness calculator

* updating so tests pass

* only run builds on master

* remove Fault_ from table
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