Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > Logging

    wsgilog 0.3

    Download button

    No screenshots available
    Downloads: 156  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

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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