Logging duplicates output on console
Summary
In many cases the logging output to the console is duplicated. At the beginning of a program this does not happen, e.g.
2022-12-02 11:45:35,979 Timor WARNING Robot IMPROV already loaded from different location. Ignoring /home/matthias/Documents/Phd/ConfigurationSearch/mcs/robots/IMPROV!
2022-12-02 11:45:35,979 Timor WARNING Robot panda already loaded from different location. Ignoring /home/matthias/Documents/Phd/ConfigurationSearch/mcs/robots/panda!
works as expected. But later on duplicates appear:
2022-12-02 11:45:44,511 Timor INFO IK solution had self-collisions, re-try
INFO:Timor:IK solution had self-collisions, re-try
2022-12-02 11:45:44,537 Timor INFO IK solution had self-collisions, re-try
INFO:Timor:IK solution had self-collisions, re-try
2022-12-02 11:45:44,546 Timor INFO IK solution had self-collisions, re-try
INFO:Timor:IK solution had self-collisions, re-try
Interestingly the duplicate seems to use another formatter without datetime.
Steps to reproduce
E.g. running mcs demo scripts
/cc @JonathanKuelz