I am not able to generate the logs using uWSGi. Please let me know what I am doing wrong here -
- tryton.ini
[uwsgi] master = True # start in master mode #http = :8020 # bind to port 8000 processes = 20 # run 4 worker processes virtualenv = /opt/tryton file = /opt/tryton/src/tryton/wsgi.py env = TRYTOND_CONFIG=/etc/trytond/trytond.conf env = TRYTOND_LOGGING_CONFIG=/etc/trytond/logconf.conf socket = tryton.sock vaccuum = true die-on-terms = true chmod-socket = 660
- logconf.conf
[formatters] keys=simple [handlers] keys=rotate [loggers] keys=root [formatter_simple] format=%(asctime)s] %(levelname)s:%(name)s:%(message)s datefmt=%a %b %d %H:%M:%S %Y [handler_rotate] class=handlers.TimedRotatingFileHandler args=('/var/log/tryton/tryton.log', 'D', 1, 30) formatter=simple [logger_root] level=INFO handlers=rotate
- prak@system:/var/log⟫ ls -l | grep tryton
drwxrwxrwx 2 tryton www-data 4096 Jul 19 15:34 tryton