Closed BlackSinny closed 1 year ago
when i mkdir log dir,file will created autoly
Duplicate of #120
Maybe I wasn't clear enough yesterday, I created the directory before running, but supervisor didn't automatically create log files after the restart
error: <class 'xmlrpclib.Fault'>, <Fault 92: "CANT_REREAD: The directory named as part of the path /data/log/testsrv/testsrv.log does not exist in section 'program:test_srv' (file: '/etc/supervisord.d/test_srv.ini')">: file: /usr/lib64/python2.7/xmlrpclib.py line: 794
my supervisor conf file like this
when i run command
server running successfully,but nothing my log file /data/log/xxxsrv/xxxsrv.log
when i touch file,everything is ok
my question
Should I have to manually create log files every time I start a new project?
when i mkdir log dir,file will created autoly