Allow the logging to be configured via the constructor.
Fix duplicates groups error.
v0.6.2