Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > System > Logging

    XMLLayout 1.0

    Download button

    No screenshots available
    Downloads: 44  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Philip Jenvey | More programs
    BSD License / FREE
    December 13th, 2011, 09:59 GMT
    ROOT / System / Logging

     Read user reviews (0)  Refer to a friend  Subscribe

    XMLLayout description

    Formats Python log messages as log4j XMLLayout XML

    XMLLayout is a project that provides a Python logging formatter that formats log messages as XML, according to log4j's XMLLayout specification.

    XMLLayout formatted log messages can be viewed and filtered within the Chainsaw application (see the example section below), part of the Java based log4j project.

    This package also includes a RawSocketHandler -- like logging.handler.SocketHandler, but sends the raw log message over the socket instead of a pickled version. RawSocketHandler can be configured to send log messages to Chainsaw directly over a socket.

    For example: to forward log messages to Chainsaw, if it were listening on localhost port 4448:

    import logging
    import xmllayout

    handler = xmllayout.RawSocketHandler('localhost', 4448)
    handler.setFormatter(xmllayout.XMLLayout())
    logging.root.addHandler(handler)



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    log messages | XMLLayout XML | Python logging | Python | message | logging



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM