scottlamb / moonfire-nvr

Moonfire NVR, a security camera network video recorder
Other
1.19k stars 138 forks source link

Web Access Logs? #216

Closed jlpoolen closed 2 years ago

jlpoolen commented 2 years ago

Are log files maintained anywhere for access to the server? Something like Apache's /var/logs/apache/access_log?

I'm sharing my site with several people and would like to monitor usage and traffic. If logs are not being maintained, is there a code line I can activate that will turn on logging of activity on the web interface?

scottlamb commented 2 years ago

No, Moonfire doesn't have that feature yet. I agree it'd be valuable. I'll fold this into #27, which is basically my "make Moonfire a good Internet-facing webserver" feature.

For now, I have an nginx proxy in front as described here. It keeps access logs. The only thing missing here is that nginx doesn't understand Moonfire's session cookies, so it can't have a field in the logs saying who was logged in.

scottlamb commented 2 years ago

27 updated.