I am working with Python and I am using RotatingFileHandler to log to some file. I have a very simple question
I am logging like this -
zooklogger.info("steps:: Actual Steps :: Workflow Path :: Host Path %s %s %s" % (steps, wf_path, status_path))
And this is how it is getting logged -
steps:: Actual Steps :: Workflow Path :: Host Path [u'step3', u'step2', u'step1'] /re/wf/ius/v1 /re/colo/phx/h1/wf/ius/v1
Is there any way that it can be logged as -
steps:: Actual Steps :: [u'step3', u'step2', u'step1'], Workflow Path :: /re/wf/ius/v1, Host Path :: /re/colo/phx/h1/wf/ius/v1
I know its a pretty silly question to ask but not able to figure out.