pass logging parameters

logging parameters must be passed as parms