Slurm-web icon indicating copy to clipboard operation
Slurm-web copied to clipboard

Logs backends messages in specific log files

Open rezib opened this issue 9 years ago • 1 comments

Currently, the backend uses basic print() and the default flask/werkzeug logging mechanism to report errors on stderr and HTTP error logfile. Then, application errors pullute quite a lot HTTP servers logs...

We should introduce a new mechanism to report logs in application specific logfile, quite similar to what's been done in jobmetrics:

https://github.com/edf-hpc/jobmetrics/commit/9172f809dda329499b55ee4dbdcc96d2efb3d743

rezib avatar Feb 08 '16 14:02 rezib