tud-amr / localPlannerBench

Local Planner Bench
https://tud-amr.github.io/localPlannerBench/
GNU General Public License v3.0
49 stars 5 forks source link

fix setting log_levels #49

Closed c-salmi closed 2 years ago

c-salmi commented 2 years ago

Because logging.basicConfig() is already called from within one of the imported packages, initializing the log_levels from this function doesn't work.

Fix: explicitly set the log_levels in a separate function like: logging.getLogger().setLevel(log_levels[args.log_level])