Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'parsing': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:log': 0.16; 'subject:parser': 0.16; 'module': 0.19; "python's": 0.19; 'example': 0.22; 'parse': 0.24; 'text.': 0.24; 'url:home': 0.24; 'header:X-Complaints-To:1': 0.27; 'perl': 0.31; 'fri,': 0.33; 'data,': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'url:search': 0.81; 'obtained': 0.96; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Python log parser Date: Sun, 07 Apr 2013 00:09:39 -0400 Organization: > Bestiaria Support Staff < References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-24-98.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365307790 news.xs4all.nl 6896 [2001:888:2000:d::a6]:48928 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42974 On Fri, 5 Apr 2013 16:42:27 +0300, Nac Temha declaimed the following in gmane.comp.python.general: > Can syslog module parsing syslog messages? I give you example for better > explain this matter; I can parse perl module( > http://search.cpan.org/dist/Parse-Syslog/lib/Parse/Syslog.pm). I obtained > host,program,message text. I want to do them with python. > parse::syslog is not the same as sys::syslog Python's syslog module does what sys::syslog does -- it /writes/ syslog data, it does NOT read it. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/