Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Christopher Arndt Newsgroups: de.comp.lang.python Subject: Re: [Python-de] Mehrzeiliges Logging Date: Tue, 13 Mar 2018 15:40:53 +0100 Lines: 15 Message-ID: References: <3218a53d-27df-83f4-4577-c4b13da330ec@thomas-guettler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de FydgZ3/94EaEYl5UnWygeglqVkOkSNrSmXnQo3ejGgOQ== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org X-Virus-Scanned: Debian amavisd-new at mx01.0x20.eu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-Reply-To: <3218a53d-27df-83f4-4577-c4b13da330ec@thomas-guettler.de> Content-Language: de-DE X-BeenThere: python-de@python.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Die Deutsche Python Mailingliste List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <3218a53d-27df-83f4-4577-c4b13da330ec@thomas-guettler.de> Xref: csiph.com de.comp.lang.python:5131 Am 13.03.2018 um 14:30 schrieb Thomas G=C3=BCttler: > Wie soll 'foo\nbar' nun auf Platte gespeichert werden? Welches Format > bietet sich an? Wie w=C3=A4re es mit Logging im JSON-Format? Z.B. hiermit: https://github.com/madzak/python-json-logger Das sch=C3=B6ne an der Benutzung eines solchen Custom-Formatters f=C3=BCr= das Python Standardloggingsystem ist, dass man diese =C3=BCber die Logging-Konfiguration ein- und ausschalten kann. Chris