Move default logging code to duct.support