add logging module to follow python naming

also add deprecated warning to logger
wow