If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    geo-petrini-10498  11 years ago

    After that I have added

    from gluon import current
    current.logger = logger

    This way I can use the same logger from modules too by writing

    current.logger.debug('my debug message from module')

     

Commented on:

Logging best practices in web2py

Hosting graciously provided by:
Python Anywhere