Make tasks log to their own log file

This commit is contained in:
Girish Ramakrishnan
2018-12-08 21:31:55 -08:00
parent 6d66eb7759
commit 3688371ce8
6 changed files with 131 additions and 12 deletions
+2
View File
@@ -138,6 +138,8 @@ function initializeExpressSync() {
// tasks
router.get ('/api/v1/tasks', settingsScope, routes.tasks.list);
router.get ('/api/v1/tasks/:taskId', settingsScope, routes.tasks.get);
router.get ('/api/v1/tasks/:taskId/logs', cloudronScope, routes.tasks.getLogs);
router.get ('/api/v1/tasks/:taskId/logstream', cloudronScope, routes.tasks.getLogStream);
router.post('/api/v1/tasks/:taskId/stop', settingsScope, routes.tasks.stopTask);
// backups