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

    wsgilog 0.3

    Download button

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

    License / Price:

    Last Updated:

    Category:
    L. C. Rees | More programs
    BSD License / FREE
    May 10th, 2011, 05:59 GMT
    ROOT / System / Logging

     Read user reviews (0)  Refer to a friend  Subscribe

    wsgilog description

    WSGI logging and event reporting middleware

    wsgilog is a module that supports logging events in WSGI applications to STDOUT, time rotated log files, email, syslog, and web servers. Also supports catching and sending HTML-formatted exception tracebacks to a web browser for debugging.

    Simple usage example:

    from wsgilog import log

    @log(tohtml=True, tofile='wsgi.log', tostream=True, toprint=True)
    def app(environ, start_response):
        print 'STDOUT is logged.'
        environ['wsgilog.logger'].info('This information is logged.')
        # Exception will be logged and sent to the browser formatted as HTML.
        raise Exception()

    if __name__ == '__main__':
        from wsgiref.simple_server import make_server
        http = make_server('', 8080, app)
        http.serve_forever()



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    WSGI logging | event reporting | WSGI | logging | event



    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