6
이전 버전에서는 로그 보관이 기본적으로 이루어졌으며 매일 (mv 이전 로그를 다른 로그 파일로) 보관하고 1 주 정도 보관함을 유지했습니다. 이제 Odoo 버전 8에서는 모든 것을 하나의 로그 파일에 저장하고 얼마 후에는 매우 커집니다. 파일을로드하는 데 약간의 시간이 걸립니다. 어떤 방식 으로든 오래된 기능을 사용할 수있는 방법이 있습니까?Odoo - 로그를 보관 하시겠습니까?
logfile = home/myuser/var/log/openerp/openerp-server.log
logrotate = True ;it seems to not do anything or I dont see what it does.
이 내가 Odoo 구성 파일에 대한 로깅에 대한 발견 (만 V7을위한, 그래서 V8 관련이 얼마나 모르는)이란 무엇인가 :
나는 Odoo 구성 파일에서 이러한 라인을 가지고 :
# file where the server log will be stored
logfile = None
# do not rotate the logfile
logrotate = True
# Send the log to the syslog server
syslog = False
# setup a handler at LEVEL for a given PREFIX. An empty PREFIX indicates the root logger. This option can be repeated. Example: "openerp.orm:DEBUG" or "werkzeug:CRITICAL" (default: ":INFO")
log_handler = [':INFO']
# specify the level of the logging. Accepted values: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer, notset
log_level = info