Open cpg opened 6 years ago
Should we split the access log and error log into 2 files? like access.log and error.log.
That would be a good idea @iPeven, just like nginx or apache.
I think we can use some good logging tools for that. There is one called logrus. It has multiple logging levels and can also store logs in proper JSON format which can be useful for serving the logs to the user on the dashboard.
Here is my solution #32
at the moment the log at
/var/log/amahi-anywhere.log
is fairly basic. i think we tried to use a fairly standard "apache-like" logging. some features would make it more useful.