Inherit logger correctly