windows log to event viewer

2014-10-17 Thread Arulnambi Nandagoban
Hello, I am trying to run a tcp server as a windows service. The project also includes an application layer protocol somewhat like CoAP and few soap calls to data base. There is some moment the code enter into exception during a soap method call. This exception is not viewed in Windows eve

RE: Python as Windows Service

2014-09-24 Thread Arulnambi Nandagoban
De : Gmail [mailto:mrje...@gmail.com] Envoyé : Wednesday, September 24, 2014 2:41 PM À : Arulnambi Nandagoban Objet : Re: Python as Windows Service Also, this may work for you <http://nssm.cc/description> <http://nssm.cc/usage> NSSM installs an existing app as a serv

tcp server as windows service

2014-09-23 Thread Arulnambi Nandagoban
Hello all, I developed a multithreaded tcp server with python and I converted into a windows executable using pyinstaller. I would like to run the server as a windows service so that server restarts whenever pc restarts without doing it manually . Help me out with some sample code . -

logging question

2014-08-13 Thread Arulnambi Nandagoban
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.

RE: creating log file with Python logging module

2014-08-05 Thread Arulnambi Nandagoban
er Otten wrote: > >> You won't see a rollover if you restart it. > > Sorry, I tried it and the above statement is wrong. [Arulnambi Nandagoban] > logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - > %(message)s', datefmt='%a, %d %b

RE: how to fix python logging to not log to stderr

2014-08-05 Thread Arulnambi Nandagoban
-Message d'origine- De : Python-list [mailto:python-list-bounces+a.nandagoban=traxens@python.org] De la part de harish.chilk...@gmail.com Envoyé : Tuesday, August 5, 2014 11:18 AM À : python-list@python.org Objet : how to fix python logging to not log to stderr I am doing this loggin

creating log file with Python logging module

2014-08-04 Thread Arulnambi Nandagoban
Hello all, I am using logging module for my application to log all debug information. I configured it create a new log file every day with "TimedRotatingFileHandler". I display debug message in console as well. But I didn't see creation of new file. Can someone help me to sort out this proble

Entreprise level python tcp server

2014-07-09 Thread Arulnambi Nandagoban
Hello all, Can anyone tell me the reliability level of python server in enterprise application ? I already developed a tcp server in python as a prototype. Our requirement for tcp server to handle more than 1 connection simultaneously . Since, I am the only python fanatic in my company, i