Actions
action #1638
closedProper management of log files for deployment
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.
Updated by ancorgs almost 11 years ago
- Priority changed from Urgent to Immediate
Updated by lnussel almost 11 years ago
- 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.
Updated by lnussel almost 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Actions