AVSLab / bsk_rl

RL environments and tools for spacecraft autonomy research, built on Basilisk. Developed by the AVS Lab.
https://avslab.github.io/bsk_rl/
MIT License
39 stars 4 forks source link

Issue #106: Implement logging module #107

Closed Mark2000 closed 9 months ago

Mark2000 commented 9 months ago

Description

Closes #106

Implements the python logging module. @LorenzzoQM would be interested to hear your opinions about if we should log less/more and what logging levels are appropriate. There's a lot that could be done here, like coloring logs, etc. but this feels like a good minimal product.

How should this pull request be reviewed?

Type of change

How Has This Been Tested?

Updated tests.

Test Configuration

Checklist:

Mark2000 commented 9 months ago

Pushed fixes that should eliminate erroneous logging. Also fixed the logger when multiple environments are instantiated, sequentially, could still be a problem in parallel applications, like training. Will read up on logging filters and think about it more.