fix whitespaces (i.e. extraneous tabs)
use of standard python logging module