Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'syntax': 0.03; 'formatting': 0.07; 'used.': 0.07; 'python': 0.09; "%s'": 0.09; 'cc:addr:python-list': 0.10; 'advance': 0.10; '2.7': 0.13; 'value.': 0.15; 'again..': 0.16; 'subject:issue': 0.16; 'issue.': 0.20; 'file.': 0.20; 'cc:2**0': 0.23; 'programming': 0.23; 'mention': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'language.': 0.27; 'message- id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'correct': 0.28; 'run': 0.28; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'but': 0.36; "didn't": 0.36; 'subject:with': 0.36; 'received:209': 0.37; 'object': 0.38; 'sure': 0.38; 'where': 0.40; 'header:Received:5': 0.40; 'here': 0.65; 'detail.': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=UD+GESfZ2gUEG6mVLPlpAK7IoU8MnTnydMaAOf+19i8=; b=svx0LIlInuThFLo89ttTy7ctf5n/dMasHKVzb4u/iOOiv3qzN+9pgT8CKpekRupjFo W4LVwQf7U7oBCKjYGibVjqBAAS0cXR8mAgs3wAySnVJLKP54NPdW08CakY87PMuDLZN7 Ayi+5bU96xQt/Gs78hugsqkIFXmERKSoTRkXAdybV8+DH5n3geHR2Vk6pQCvqnqijaMp mQMLmIgKRZ+FVrTKEyWPHUa+wiaK9VsZOrkZOaZ8qXZRGyzFjhbJgZQJbQJGYhaKCZxH 7miKoGAra/YHdskJVXVlsYCsq6kFcOuv8e28lxyYDngn5ru3qMPwteOxTjpk/krjecqj HQIA== MIME-Version: 1.0 Date: Fri, 28 Dec 2012 19:15:07 +0100 Subject: issue with loggin From: Morten Engvoldsen To: Dave Angel Content-Type: multipart/alternative; boundary=14dae9340dd1ade3d904d1eda432 Cc: python-list@python.org 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356718516 news.xs4all.nl 6907 [2001:888:2000:d::a6]:54978 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35715 --14dae9340dd1ade3d904d1eda432 Content-Type: text/plain; charset=ISO-8859-1 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.. --14dae9340dd1ade3d904d1eda432 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Dave,
Thanks for looking into my issue.=A0 You cannot run= the program since it is in Openerp where python is used as programming lan= guage. Here python 2.7 is used. Sorry i didn't mention all the detail. =
=A0
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 valu= e of 'batch'=A0 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 c= orrect formatting syntax for displaying Object value.
=A0
Thanks in advance again.. I am new to Python but not in = programming language..=A0
--14dae9340dd1ade3d904d1eda432--