override warning logger
override warning logger