  why is this split up in this way cleaning up staging directory  s download staging dir  if cherry py is using pythons logging facility  which i assume it is you can also just do cherrypy log  cleaning up staging directory  s download staging dir  so you do not have to wrap in a weird way 