Re: Logging lib doesn't work

2020-09-29 Thread Alexandre FOURNEL
Le mardi 29 septembre 2020 à 16:33:39 UTC+2, Barry Scott a écrit : > > On 29 Sep 2020, at 15:11, Alexandre FOURNEL > > wrote: > > > > Hi all ! > > > > I'm trying to use logging lib in my python program. > > > > To try this lib, I am using basic code like : > > > > "import logging > > log

Re: Logging lib doesn't work

2020-09-29 Thread Barry Scott
> On 29 Sep 2020, at 15:11, Alexandre FOURNEL > wrote: > > Hi all ! > > I'm trying to use logging lib in my python program. > > To try this lib, I am using basic code like : > > "import logging > logging.basicConfig(filename='pont.txt', filemode='w',format='%(asctime)s > %(message)s', d

Logging lib doesn't work

2020-09-29 Thread Alexandre FOURNEL
Hi all ! I'm trying to use logging lib in my python program. To try this lib, I am using basic code like : "import logging logging.basicConfig(filename='pont.txt', filemode='w',format='%(asctime)s %(message)s', datefmt='%d/%m/%Y %H:%M:%S', level=logging.DEBUG) logging.debug('This message shou