resolve logger code conflict