summaryrefslogtreecommitdiff
path: root/addons/web/doc/module/static/src/css/web_example.css.1.diff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-03-01 13:07:44 +0100
committerOlivier Dony <odo@openerp.com>2013-03-01 13:07:44 +0100
commitdb81edc2872c4ccf9d4a3f596d0ec2040fa4a58f (patch)
treee649f9e32b14b891e561eb4fb4787e2116010a48 /addons/web/doc/module/static/src/css/web_example.css.1.diff
parentb7625512110f470cdd363446b6539ef6996c1ee7 (diff)
[FIX] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done consistently, causing log messages that appeared to come from one database while coming from another one or none at all. The tracker is now set at the earliest points of request handling where we can: - in web client, when creating WebRequests (dbname, uid) - at RPC dispatching in server (uid) - at cron job acquisition in CronWorker (dbname) - at Registry acquisition in RegistryManager (dbname) The tracker is cleared at the very entrance of the request in the WSGI `application`, ensuring that no logging is produced with an obsolete db name. (It cannot be cleared at the end of the request handling because the werkzeug wrapper outputs more logging afterwards) bzr revid: odo@openerp.com-20130301120744-jfitcmze2jldecod
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions