Hi,

I'm developing a new Widget in the webclient, but somehow I don't manage to 
print debug information to a file or stdout from within the Widget code.

Does someone know how to turn on extended debugging information?

Within the widget-code I tried 'print', 'common.message()', 'common.error()' 
and I also fiddled with the logging settings, but to no avail.

These are my logging settings in default.cfg:

[logging]

[[handlers]]

[[[error_out]]]
args="('errors.log',)"
class='FileHandler'
level='DEBUG'
formatter='message_only'

[[[access_out]]]
# set the filename as the first argument below
args="('server.log',)"
class='FileHandler'
level='INFO'
formatter='message_only'

[[loggers]]
[[[openerp]]]
level='ERROR'
qualname='openerp'
handlers=['error_out']

[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0

Thank you!

Jan




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=42768#42768

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to