amahi / amahi-anywhere-fs

Amahi Anywhere file server
GNU General Public License v3.0
12 stars 10 forks source link

better logging #4

Open cpg opened 6 years ago

cpg commented 6 years ago

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.

phoon commented 5 years ago

Should we split the access log and error log into 2 files? like access.log and error.log.

csoni111 commented 5 years ago

That would be a good idea @iPeven, just like nginx or apache.

vishwasmittal commented 5 years ago

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.

Solamish commented 4 years ago

Here is my solution #32