This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import logging | |
import logging.config | |
from trytond.config import config | |
from trytond.application import app | |
logconf = os.environ.get('TRYTOND_LOGCONF') | |
if logconf: | |
logging.config.fileConfig(logconf) |