Detailed Odoo configuration file

Source: Internet
Author: User
Tags syslog ssl connection

[Options]
; Find path for addons module
Addons_path = E:\GreenOdoo8.0\source\openerp\addons
; Administrator master password (for operations such as creating, restoring, and backing up databases)
ADMIN_PASSWD = Admin
; Auto Reload?
Auto_reload = None
; Default delimiter for importing exported CSV files
Csv_internal_sep =,
; Data directory, for storing session information, attachments
Data_dir = Data
; Database host Name
Db_host = 127.0.0.1
; Maximum number of connections to the database
Db_maxconn = 64
; Specify the name of the database to use
Db_name = False
; Database user Password
Db_password = OpenERP
; Database port number
Db_port = 65432
; Database template to use when creating a new database
Db_template = template1
; Database user Name
Db_user = OpenERP
; Filter the name of the database to be displayed
Dbfilter =. *
; is debug mode
Debug_mode = False
; which modules load the demo data?
Demo = {}
; The email address used to send the message
Email_from = False
; Use this option when importing large amounts of data, and if the program goes down during import, you can continue in the current state. Specifies a file name that stores the intermediate import status.
Import_partial =
; Maximum physical memory allowed by a processor
Limit_memory_hard = None
; Maximum virtual memory allowed by a processor
Limit_memory_soft = None
; Maximum number of requests accepted by a single processor
Limit_request = None
; How much processor time a request takes up
LIMIT_TIME_CPU = None
; Maximum real time allowed for a request
Limit_time_real = None
; Allow List of databases to be displayed
list_db = True
; Whether to write log to the ir_logging table of the DB
log_db = False
; Can be a set of module:log_level pairs, the default value is: info (indicates that the default log level for all modules is the INFO level)
Log_handler =: INFO
; Log levels, optional values include Debug_rpc_answer, DEBUG_RPC, Debug, Debug_sql, info, warn, error, critical
Log_level = info
; Specify the file used to store the log
LogFile = Openerp-server.log
; Whether to store logs by day
Logrotate = False
; The port number used by the long connection pool?
Longpolling_port = 8072
; Maximum number of threads that handle the current scheduled task
Max_cron_threads = 2
; Maximum time, in hours, to force records to be saved in the Virtual osv_memory table
Osv_memory_age_limit = 1.0
; Force the maximum number of records for a virtual osv_memory table
Osv_memory_count_limit = False
; Path to the database executable file
Pg_path = Runtime/pgsql/bin
; File name of the storage server PID
Pidfile = None
; Whether to use reverse proxy mode
Proxy_mode = False
; Whether to compress the report
Reportgz = False
; Specify the certificate file for the SSL connection
Secure_cert_file = Server.cert
; Specify the master key file for the SSL connection
Secure_pkey_file = Server.pkey
; Server-scoped modules, separated by commas
Server_wide_modules = None
; SMTP user password for sending mail
Smtp_password = False
; SMTP port number
Smtp_port = 25
; SMTP server name
Smtp_server = localhost
; Whether the SMTP server supports the SSL protocol
Smtp_ssl = False
; SMTP user name for sending mail
Smtp_user = False
; Send logs to Syslog server
Syslog = False
; Whether to commit database changes caused by YAML or XML tests
Test_commit = False
; Whether YAML and unit tests are allowed
Test_enable = False
; YML test File
Test_file = False
; Where the sample of the report is stored
Test_report_directory = False
; Provide a reference time zone for the system
TimeZone = False
; Which modules are translatable, default to All
Translate_modules = [' All ']
; Whether to use the Unaccent function of the database
Unaccent = False
; Which modules do not load presentation data at installation time
Without_demo = False
; Number of processors to use
Workers = None
; Whether to allow the use of the XML-RPC protocol, which is true by default
XMLRPC = True
; Specifies an IP address that uses the XML-RPC protocol, which is null to bind to an existing IP
Xmlrpc_interface =
; TCP port used by the XML-RPC protocol
Xmlrpc_port = 8069
; Whether to allow the use of the XML-RPC security protocol, which is true by default
Xmlrpcs = True; Specifies the IP address that uses the XML-RPC security protocol, which is null to bind to the existing ipxmlrpcs_interface =; XML-RPC TCP port used by the security protocol Xmlrpcs_port = 8071


------------------------------

Odoo uses the Python standard log library logging. It uses a special configuration syntax to configure the logging level for its modules.

The following is the complete option for the Odoo log configuration (typically placed in the openerp-server.conf file):

LogFile: Log file name, such as Opt/odoo.log. If not set, the default is stdout, which is output to the console
Logrotate:true/false. If set to True, create a file every day and save the log file for 30 days
Log_db:ture/false. If set to True, the log is written to the "ir_logging" table in the database
Log_level: Log level, can be any item in the list [' Debug_rpc_answer ', ' debug_rpc ', ' Debug ', ' Debug_sql ', ' info ', ' warn ', ' error ', ' critical ' ]. Odoo Setting this log level option means that because these level values are mapped to a pre-defined set of "Module:log_level" key-value pairs, Odoo uses predefined settings as the default settings, even if this option is not set. See the Log Implementation section below for details.
Log_handler: The value can be a "module:log_level" key-value pair. "Module" indicates the name of the block, for example: "Openerp.addons.account" or "openerp.addons.*". The default value for "Log_level" is "info"-that is, for all modules, the default log level is ' info '

Detailed Odoo configuration file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.