Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'syntax': 0.03; 'formatting': 0.07; 'used.': 0.07; 'python': 0.09; "%s'": 0.09; 'confuse': 0.09; 'logger': 0.09; 'thread,': 0.09; 'advance': 0.10; 'thread': 0.11; '2.7': 0.13; 'value.': 0.15; 'again..': 0.16; 'loggin': 0.16; 'subject:issue': 0.16; 'value",': 0.16; 'wrote:': 0.17; 'issue.': 0.20; 'file.': 0.20; 'people,': 0.21; 'programming': 0.23; 'mention': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'language.': 0.27; "doesn't": 0.28; 'correct': 0.28; 'run': 0.28; "i'm": 0.29; 'to:addr:python- list': 0.33; 'thanks': 0.34; 'pm,': 0.35; 'but': 0.36; "didn't": 0.36; 'subject:with': 0.36; 'subject:: ': 0.38; 'object': 0.38; 'sure': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'your': 0.60; 'most': 0.61; 'replying': 0.64; 'here': 0.65; 'detail.': 0.65; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'received:74.208.4.194': 0.84 Date: Fri, 28 Dec 2012 13:58:40 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: issue with loggin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:qVpZKEvDCSm56jKRN3FiiZkvJV+YwLllNflAUdYZ6wh tVT73ulMFr4uJ+aOrl29fk9SfYB2N7aR8Uxjte6cTtpjj0j268 vbLl2P77z01BhIGHVRmooiMi0SzM6oHwjIKH2I6nZ2LdTPIO8u pQVuOqqtiUwZXPnyE4piZ61qQz9R4G8VQQjHCRVIMdXLQqkY5l 0JBf4sOVbks2k1vffWEmh3XEL5OGDjkHMf3vRaR1XggchIDikI TAIoa1d2in8rL5Kj5Eyt9hkdbWg12ZsFLJontM2qT/c25l67t+ ADo5gnZfZTfnxCxju4qfb8XmRaEBp4gMWC6ZjXzvkclNG3XbA= = X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356721146 news.xs4all.nl 6861 [2001:888:2000:d::a6]:37692 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35718 On 12/28/2012 01:15 PM, Morten Engvoldsen wrote: > Hi Dave, > Thanks for looking into my issue. You cannot run the program since it is > in Openerp where python is used as programming language. Here python 2.7 is > used. Sorry i didn't mention all the detail. > > My program is able to write log for other message in the log file. here > 'batch' is an object and when i try to log the value of 'batch' with > logger.debug('The value is %s' %batch) , it doesn't log the value. I am not > sure if it is the correct if it correct formatting syntax for displaying > Object value. > > Thanks in advance again.. I am new to Python but not in programming > language.. > > You started a new thread, instead of replying in the same one. This will confuse most people, and frustrate the rest. I'm going to try to paste your response into the other thread "Facing issue with Python loggin logger for printing object value", and hope nobody else replies here. -- DaveA