action #1638
closed
Proper management of log files for deployment
Added by ancorgs almost 11 years ago.
Updated almost 11 years ago.
Description
Right now, the application logs to $APPDIR/log/$MODE.log if the log directory is there. If it's not there, the app logs to STDOUT. For proper deployment it should log to /var/log or, at least, do something better than the current default.
- Priority changed from Urgent to Immediate
- Target version set to Sprint 03
- Status changed from New to In Progress
I've added configuration options for the log file and log level to the configuration file. By default both are empty which means mojo logs to stderr. With systemd that is fine as it catches the output on stderr and writes it to the journal.
It would probably be interesting to log the requests somewhere else separately.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF