Change OGE logger configuration set at package initialization. The default was to print logs to the console, and to a file. Now it only prints to the console. Users can overwrite this configuration in their own project if it is desired.
What the code is doing
Set the logfile argument to None when calling configure_root_logger in __init__.py file.
Testing
It has been tested in an external project importing oge.
Where to look
In the __init__.py file.
Usage Example/Visuals
N/A
Review estimate
2min
Future work
N/A
Checklist
[x] Update the documentation to reflect changes made in this PR
[x] Format all updated python files using black
[x] Clear outputs from all notebooks modified
[x] Add docstrings and type hints to any new functions created
Purpose
Change OGE logger configuration set at package initialization. The default was to print logs to the console, and to a file. Now it only prints to the console. Users can overwrite this configuration in their own project if it is desired.
What the code is doing
Set the
logfile
argument toNone
when callingconfigure_root_logger
in __init__.py file.Testing
It has been tested in an external project importing
oge
.Where to look
In the __init__.py file.
Usage Example/Visuals
N/A
Review estimate
2min
Future work
N/A
Checklist
black