Fix configuration of class-level logging. It was not correctly doing this, meaning all class-level configuration was ignored and only the default value was recognized.