Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76183

logging question

From "Arulnambi Nandagoban" <a.nandagoban@traxens.com>
Subject logging question
Date 2014-08-13 12:18 +0200
Newsgroups comp.lang.python
Message-ID <mailman.12917.1407925194.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

 

I posted a question about logger module to create a log file every day. I
had a problem recently in logging. 

My pc restarts regularly. Whenever it restarts I lose all the log since it
writes in the file once per day.  Is there a way to log information in a
file as soon as it available.

My application is a tcp server. Before I did it without using logger module,
I developed customized log module for the application.  As soon as there is
a connection I append it in the log file.

By that way I didn't lose any log information.  

 

--

nambi

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

logging question "Arulnambi Nandagoban" <a.nandagoban@traxens.com> - 2014-08-13 12:18 +0200

csiph-web