Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Portability should be the default. -- Larry Wall in <199711072201.OAA01123@wall.org>


devel / comp.lang.python / logging library python

SubjectAuthor
o logging library pythontamar wase

1
logging library python

<f437e319-6a0b-4e5f-a76c-a1759f14b977n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18065&group=comp.lang.python#18065

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:a05:622a:6201:b0:2f1:d669:5ee9 with SMTP id hj1-20020a05622a620100b002f1d6695ee9mr10325878qtb.190.1651088795500;
Wed, 27 Apr 2022 12:46:35 -0700 (PDT)
X-Received: by 2002:ac8:598a:0:b0:2f3:637b:e4a with SMTP id
e10-20020ac8598a000000b002f3637b0e4amr14447547qte.389.1651088795297; Wed, 27
Apr 2022 12:46:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Wed, 27 Apr 2022 12:46:35 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a0d:6fc0:80d:8900:21a1:f0ec:8017:e176;
posting-account=VxbEAgoAAAB2KeYZltIoXW4zFwP946fq
NNTP-Posting-Host: 2a0d:6fc0:80d:8900:21a1:f0ec:8017:e176
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f437e319-6a0b-4e5f-a76c-a1759f14b977n@googlegroups.com>
Subject: logging library python
From: tamar.w...@od-machine.com (tamar wase)
Injection-Date: Wed, 27 Apr 2022 19:46:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 6
 by: tamar wase - Wed, 27 Apr 2022 19:46 UTC

hello,
we have many scripts of one project. what is the right way to define the logger to all scripts? we tried to create class that define the logger configuration+generic function (handler functions to write generic log message), and each script define an instance of the class. But the log info is reference to the class script and not the right script. Should we need not to use the class ? should we need define logger to each script ?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor