mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: remove hardcoded runbot_logs
This commit is contained in:
parent
44ec541e32
commit
688900edb1
@ -1033,8 +1033,9 @@ class BuildResult(models.Model):
|
||||
elif grep(config_path, "--xmlrpc-interface"):
|
||||
command.add_config_tuple("xmlrpc_interface", "127.0.0.1")
|
||||
|
||||
log_db = self.env['ir.config_parameter'].get_param('runbot.logdb_name')
|
||||
if grep(config_path, "log-db"):
|
||||
command.add_config_tuple("log_db", "runbot_logs")
|
||||
command.add_config_tuple("log_db", log_db)
|
||||
if grep(config_path, 'log-db-level'):
|
||||
command.add_config_tuple("log_db_level", '25')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user