Re: Choosing log file destination in logging configuration file

2008-04-23 Thread Vinay Sajip
On Apr 22, 9:48 pm, [EMAIL PROTECTED] wrote: > On Apr 22, 12:57 pm, Miki <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > So far so good. In the relevant applications, the code looks something > > > like this: > > >logging.config.fileConfig('log.ini') > > > logger =logging.getLogger('log.regular

Re: Choosing log file destination in logging configuration file

2008-04-22 Thread guybenron
On Apr 22, 12:57 pm, Miki <[EMAIL PROTECTED]> wrote: > Hello, > > > > > So far so good. In the relevant applications, the code looks something > > like this: > > logging.config.fileConfig('log.ini') > > logger = logging.getLogger('log.regular') logger = > > logging.getLogger('log.daemonic') > > ..

Re: Choosing log file destination in logging configuration file

2008-04-22 Thread Miki
Hello, > So far so good. In the relevant applications, the code looks something > like this: > logging.config.fileConfig('log.ini') > logger = logging.getLogger('log.regular') logger = > logging.getLogger('log.daemonic') > .. and start logging. > > The thorn in my side is that after the fileConfi

Choosing log file destination in logging configuration file

2008-04-22 Thread guybenron
Hey, I have a sort of petty-neurotic question, I'm kinda pedantic and like to keep my log directories clean, and this thing is bothering me to the point of actually posting a question (couldn't find any post about this..). My application has two types of components: daemons and regular ones that