Python2.3 logging utilities

Discussion in 'Python' started by Samir Patel, Jul 17, 2003.

  1. Samir Patel

    Samir Patel Guest

    First of all, hats of on logging module in python 2.3.
    Very elegant...

    I have 2 questions regarding Handler class in logging:

    1. SocketHandler: Can I send plain string instead of
    pickle binary. This will allow me to send a TCP log
    message to program written in other programming lang.

    2. SMTPHandler: Is there any way to send an email
    where server requires authentication through
    logconfig.ini file. I send an email message to myself
    through logging and SMTPHandler and it works perfect,
    but if I want to send an email to external email
    address, I can't do it because replying is not allow.
    I can do it this in a python program by using ehlo and
    docmd of smtplib object, but how can I do same thing
    in loggers' config.ini file.

    Thanks in advance

    __________________________________
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    http://sbc.yahoo.com
     
    Samir Patel, Jul 17, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xavier
    Replies:
    0
    Views:
    560
    Xavier
    Aug 6, 2003
  2. Skip Montanaro
    Replies:
    1
    Views:
    590
    Thomas Heller
    Aug 7, 2003
  3. snacktime
    Replies:
    13
    Views:
    745
    Dan Sommers
    Feb 22, 2005
  4. Uwe Mayer

    changing from python2.3 to python2.4

    Uwe Mayer, Apr 8, 2005, in forum: Python
    Replies:
    1
    Views:
    433
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Apr 9, 2005
  5. Ksenia Marasanova
    Replies:
    2
    Views:
    494
    Mike Meyer
    Nov 17, 2005
  6. Xiao Jianfeng
    Replies:
    1
    Views:
    535
    Mike Meyer
    Nov 18, 2005
  7. Christopher Taylor

    Help: Python2.3 & Python2.4 on RHEL4 x86_64

    Christopher Taylor, Oct 18, 2006, in forum: Python
    Replies:
    15
    Views:
    684
    Christopher Taylor
    Oct 24, 2006
  8. Farhan Sheikh
    Replies:
    0
    Views:
    619
    Farhan Sheikh
    Aug 17, 2009
Loading...