Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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; 'only,': 0.07; 'below)': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'django': 0.11; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Reading': 0.16; 'subject:log': 0.16; 'wed,': 0.18; 'all,': 0.19; 'aug': 0.22; 'url:home': 0.24; 'logging': 0.26; 'mention': 0.26; 'header:X -Complaints-To:1': 0.27; '(since': 0.31; 'running': 0.33; 'subject:data': 0.36; 'ubuntu': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'application': 0.37; 'received:76': 0.38; 'server': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'guy': 0.60; 'logs': 0.60; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Reading log and saving data to DB Date: Wed, 14 Aug 2013 18:34:38 -0400 Organization: IISS Elusive Unicorn References: <4de52359-d352-4e35-afed-73df672c945c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-253-105-23.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 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: 1376519688 news.xs4all.nl 15961 [2001:888:2000:d::a6]:55029 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52533 On Wed, 14 Aug 2013 06:18:08 -0700 (PDT), Guy Tamir declaimed the following: >Hi all, > >I have a Ubuntu server running NGINX that logs data for me. Is the log coming from NGINX or (since you mention Django below) coming solely from the Django application. If the logging is from the Django application only, you should be able to have it connect to the database and write directly to it. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/