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


Groups > comp.lang.python > #76183 > unrolled thread

logging question

Started by"Arulnambi Nandagoban" <a.nandagoban@traxens.com>
First post2014-08-13 12:18 +0200
Last post2014-08-13 12:18 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#76183 — logging question

From"Arulnambi Nandagoban" <a.nandagoban@traxens.com>
Date2014-08-13 12:18 +0200
Subjectlogging question
Message-ID<mailman.12917.1407925194.18130.python-list@python.org>

[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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web