Hello!
How do I enable logging to a file? I read about “Logging configuration” in the documentation and added a section [logconf] in trytond.conf like described in the doc but I am not sure, I get no log.
Should I paste my trytond.conf?
Andreas
Hello!
How do I enable logging to a file? I read about “Logging configuration” in the documentation and added a section [logconf] in trytond.conf like described in the doc but I am not sure, I get no log.
Should I paste my trytond.conf?
Andreas
you need to another config, let called it “trytond.log.conf”
then input the example configuration
Run the trytond as below:
trytond -d dbname -c /etc/trytond/trytond.conf --logconf /etc/trytond/trytond.log.conf
Also make sure the user (who started trytond) who writes to the file has the right permissions.