diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-11-08 14:27:07 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-11-08 14:31:57 +0000 |
| commit | e9e864802f2d419403aba2c45a0c0f00c02e4cbe (patch) | |
| tree | 4caaa821c2ceea4712272cfd922e0691922a5cf0 /odoo/netsvc.py | |
| parent | ecedd77928cbc27eb54f7fcc7d247c07c0d39f8e (diff) | |
[REV] base: revert rename ir.logging type to logging_type
This reverts commit c42a130a9892482ce72d2417f418931d2a7ecf49
and commit fb7ac56d65a0d4c634a4c9387bf25bbc229d5caa.
The runbot is using cross db logging and those commit were breaking the
mechanism. As a result, the master builds logs were empty.
If we update the runbot to use logging_type instead, the other versions
builds will be impacted hence this revert.
closes odoo/odoo#28512
Diffstat (limited to 'odoo/netsvc.py')
| -rw-r--r-- | odoo/netsvc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/netsvc.py b/odoo/netsvc.py index fbf2a055087..286ee740584 100644 --- a/odoo/netsvc.py +++ b/odoo/netsvc.py @@ -51,7 +51,7 @@ class PostgreSQLHandler(logging.Handler): val = ('server', ct_db, record.name, levelname, msg, record.pathname[len(path_prefix)+1:], record.lineno, record.funcName) cr.execute(""" - INSERT INTO ir_logging(create_date, logging_type, dbname, name, level, message, path, line, func) + INSERT INTO ir_logging(create_date, type, dbname, name, level, message, path, line, func) VALUES (NOW() at time zone 'UTC', %s, %s, %s, %s, %s, %s, %s, %s) """, val) |
