You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
Sometimes, the application doesn't work anymore and only shows the default error message. In a live scenario, it is really hard to debug the problem, because error messages are only printed on the JavaScript console.
Describe the solution you'd like
It would be great to add a file-based logging system because it enables post-failure analysis. Like a file called photobooth.log in the root directory containing information about the past. This can be easily integrated into the photoboothTools: https://github.com/andi34/photobooth/blob/dev/src/js/tools.js#L6
Describe alternatives you've considered
Additional context
A simple writeFile based function is totally enough. But there are also some 3rd party dependencies that might be interesting like winston. Further, it has to be considered that the file must be protected against external access because it contains sensitive data.
Additional nice-to-have logging features are:
Logs shown in the web interface
Possibility to delete all logs manually over the web interface
Possibility to configure different log levels
Different logging configurations (like one log file for every day etc.)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Yes
Description
Sometimes, the application doesn't work anymore and only shows the default error message. In a live scenario, it is really hard to debug the problem, because error messages are only printed on the JavaScript console.
Describe the solution you'd like
It would be great to add a file-based logging system because it enables post-failure analysis. Like a file called
photobooth.log
in the root directory containing information about the past. This can be easily integrated into thephotoboothTools
:https://github.com/andi34/photobooth/blob/dev/src/js/tools.js#L6
Describe alternatives you've considered
Additional context
A simple
writeFile
based function is totally enough. But there are also some 3rd party dependencies that might be interesting like winston. Further, it has to be considered that the file must be protected against external access because it contains sensitive data.Additional nice-to-have logging features are:
The text was updated successfully, but these errors were encountered: