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


Groups > comp.lang.python > #4938

Re: A suggestion for an easy logger

From TheSaint <nobody@nowhere.net.no>
Newsgroups comp.lang.python
Subject Re: A suggestion for an easy logger
Followup-To comp.lang.python
Date 2011-05-08 12:49 +0800
Organization Aioe.org NNTP Server
Message-ID <iq57ci$562$1@speranza.aioe.org> (permalink)
References <863052b3-3b6f-482e-820a-ec1278b81b19@glegroupsg2000goo.googlegroups.com> <f0ca57e6-e93c-48ce-9291-3efbd44f3c3a@z13g2000yqg.googlegroups.com>

Followups directed to: comp.lang.python

Show all headers | View raw


Vinay Sajip wrote:

WoW :O , the creator !!

> import logging
> 
> logging.basicConfig(level=logging.DEBUG)

I'm getting there, but the result it's not what I would.
As far as I got to know, it should take to write a configuration file, which 
I still not aware of.
I'd like to just have the 4 conditions mentioned in the first post.
Once I'll get into the dirt I'll try to bring up also the other features 
that logging module gives.

-- 
goto /dev/null

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


Thread

Re: A suggestion for an easy logger mcilrain <noah.mcilraith@gmail.com> - 2011-05-07 17:00 -0700
  Re: A suggestion for an easy logger Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-05-07 19:27 -0700
    Re: A suggestion for an easy logger TheSaint <nobody@nowhere.net.no> - 2011-05-08 12:49 +0800
      Re: A suggestion for an easy logger TheSaint <nobody@nowhere.net.no> - 2011-05-08 14:15 +0800
        Re: A suggestion for an easy logger Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-05-08 03:26 -0700
          Re: A suggestion for an easy logger TheSaint <nobody@nowhere.net.no> - 2011-05-08 19:21 +0800
            Re: A suggestion for an easy logger Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-05-08 05:31 -0700
              Re: A suggestion for an easy logger TheSaint <nobody@nowhere.net.no> - 2011-05-09 22:53 +0800
                Re: A suggestion for an easy logger Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-05-09 09:34 -0700
                Re: A suggestion for an easy logger TheSaint <nobody@nowhere.net.no> - 2011-05-10 18:06 +0800

csiph-web