Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5488
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Achim Domma <achim@procoders.net> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Wer nutzt mehrzeiliges Logging und wie? |
| Date | Fri, 14 Jun 2019 10:42:30 +0200 |
| Lines | 31 |
| Message-ID | <mailman.68.1560502197.21674.python-de@python.org> (permalink) |
| References | <f05ef56f-6385-58bf-3352-7c4f11a5ed83@thomas-guettler.de> <5933b270-c725-a4c4-51cb-a429b56480ff@procoders.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de lRlKZXCSIugoHbYP3KhytwA3LD04zFvwrbtlCGpalQ1g== |
| Return-Path | <achim@procoders.net> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| Authentication-Results | webhosting01.marketing-thom.de; spf=pass (sender IP is 2.202.166.166) smtp.mailfrom=achim@procoders.net smtp.helo=[192.168.178.22] |
| Received-SPF | pass (webhosting01.marketing-thom.de: connection is authenticated) |
| Openpgp | preference=signencrypt |
| Autocrypt | addr=achim@procoders.net; prefer-encrypt=mutual; keydata= mQENBFdOCIoBCACy5pzUFqS7phmCkNxSIZ2MwfTsxZMlPhn+523sYMPIo8tSMtfk3Ws4Ntj+ X3eoyh2kAEmbiAOKoKH9FwqoZ9JBLE3BJktTql5FGZT/cNoteDUqLtjsR2KWsKt2CGRxdDz9 M8xBEfNtu0U66O2DvCWR31Jxskq06tIwHE7jI9Bo8gFrWVy+RYwVIu2mboh8XHZisO0ryKAf uLW+vV5SXJXsliZbfdYwETFmfCCwGjGKC0b9Y9V1gkeReDexivaTKwmk6Etz0y+W5cFEMcA6 XbJ13rk1QgS78ClSW9CmyV7xy+nrmaOAv4qqC6yqZVMAucaSX0KI22oc/Ql7UUFLFJ3JABEB AAG0HEFjaGltIERvbW1hIDxhY2hpbUBkb21tYS5kZT6JAT4EEwECACgFAldOCIoCGwMFCQDt TgAGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEPpU0LJdNzAr27gIAJB5vVmVbIHDvy75 zzJcAXzKCXqloCpxjgXxJC2ucIv1xNV3Yvu8zRipj30an+2ClkN8VjyLWKQrw4R4kJqdBcUF DnWmkxNq/UdUrCldunYRLIj72MjlR3+WDtgO0tmvm7d6uORfeKHzKPWYBfpG/O+tGRppUnIq 7Qqi93pvcDvhhB1Wl7qw4da/qIgjdS5ZMDwN6lKubdtU/B7040GBYYgxZYNKg5NUt3sr/2Yn LRkS9U4oPzwueQoGorZ5vJbM8C88xW7IyCaOdn6E2iOyaFkpU69ULrENy/pqEOWdRWqepWQ3 P0OmmcPJ7Wp9vWSiLfpz0UjnRaWlXnUkIX+HH50= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
| In-Reply-To | <f05ef56f-6385-58bf-3352-7c4f11a5ed83@thomas-guettler.de> |
| Content-Language | en-US |
| X-PPP-Message-ID | <20190614084231.28108.6423@webhosting01.marketing-thom.de> |
| X-PPP-Vhost | procoders.net |
| X-Mailman-Approved-At | Fri, 14 Jun 2019 04:49:56 -0400 |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.29 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <5933b270-c725-a4c4-51cb-a429b56480ff@procoders.net> |
| X-Mailman-Original-References | <f05ef56f-6385-58bf-3352-7c4f11a5ed83@thomas-guettler.de> |
| Xref | csiph.com de.comp.lang.python:5488 |
Show key headers only | View raw
Hi, ich verwende https://github.com/thangbn/json-logging-python In Produktion funktioniert das für mich sehr gut, ist beim lokalen Entwickeln natürlich für Menschen eher schlecht lesbar. Daher hab' ich einen Schalter, der Json logging ausschaltet und gleich noch ein https://pypi.org/project/coloredlogs/ dazu macht. Grüße, Achim On 14/06/2019 10:27 AM, Thomas Güttler wrote: > Hallo, > > vor mehr als einem Jahr habe ich schon mal nachgefragt, wie > man mehrzeiliges Logging in Python lösen könnte: > > https://mail.python.org/pipermail/python-de/2018q1/005082.html > > Da es nur selten auftritt hat sich in meinem Kontext nichts geändert. > > Wer hat eine Logging-Lösung die mit mehrzeilegem Text umgehen kann? > > Wie sieht die aus? > > Umgebung: Linux, Django Web-Anwendung. > > Gruß, > Thomas Güttler > >
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] Wer nutzt mehrzeiliges Logging und wie? Achim Domma <achim@procoders.net> - 2019-06-14 10:42 +0200
csiph-web