fix log level config

use log level 'test' in odoo << 8.0 and 'info' in >= 8.0