Hi, try str(asctime) 2012.12.30. 21:52, "Daniel Gonzalez" <[email protected]> ezt írta:
> Hi, > > I am trying to specifiy a custom fmt for getConsoleLogger. I have tried > with: > > '%(message)s' > > Which is working fine. But: > > '%(asctime)s - %(message)s' > > is giving the error: > > TypeError: converter() takes at most 1 argument (2 given) > > Is asctime not supported? How can I display timestamps in my logs? > > Thanks, > Daniel > > -- > > > > --
