Path: csiph.com!news.swapon.de!newsreader4.netcologne.de!news.netcologne.de!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; 'python': 0.10; 'python.': 0.11; 'it".': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'solution.': 0.18; 'filtering': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'logging': 0.27; 'probably': 0.31; 'non': 0.32; 'list': 0.34; 'could': 0.35; 'done': 0.35; 'lists.': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'no,': 0.38; 'log': 0.38; 'mailing': 0.38; 'to:addr:python.org': 0.40; 'received:194': 0.61; 'charset:windows-1252': 0.62; 'thomas': 0.63; 'dismissed': 0.84; 'subject:From': 0.97 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: jmp Subject: Re: From logging to files to a better solution: syslog, Sentry, Logstash, .... Date: Tue, 15 Sep 2015 16:36:46 +0200 References: <5c1f52f5-59d2-48dd-b2e8-3a907a517261@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: paris.sequans.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442327823 news.xs4all.nl 23785 [2001:888:2000:d::a6]:33530 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96638 On 09/15/2015 11:35 AM, Thomas Güttler wrote: > > .... Yes, I could do it this way. > > But somehow I am not happy with this solution. > > I think the filtering should be outside of python. [snip] > Can you understand my concerns? > > Thomas Güttler > No, not really. I showed you how it can be done in python using standard logging technics. Others have also provided suggestions and you've also dismissed those with a "I don't feel like it". Remember this is a python mailing list hence if you're looking for help about a non python log infrastructure, you probably find better answers in those said log infrastructures mailing lists. JM