Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log the generated images #5

Open
btemperli opened this issue Jan 8, 2021 · 3 comments
Open

Log the generated images #5

btemperli opened this issue Jan 8, 2021 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@btemperli
Copy link
Member

Save the generated Files (text-based) into a log-file when the links are clicked.

@btemperli btemperli added enhancement New feature or request good first issue Good for newcomers labels Jan 8, 2021
@btemperli
Copy link
Member Author

btemperli commented Dec 13, 2021

  • save logs to csv-file
  • admin-page to see statistics

@wp99cp
Copy link
Member

wp99cp commented Dec 14, 2021

Why you don't use a dedicated DB for storing the log files, for example, InfluxDB comes with a build-in log viewer. This would allow you to filter, sort logs and you don't need to write a dedicated admin page. See https://www.influxdata.com/blog/writing-logs-directly-to-influxdb/

@btemperli
Copy link
Member Author

thanks for the hint, @wp99cp, I will look at it!
My intension was to do it as simple and fast as possible. And for better usage and development without installing something locally and on the server - file-based storage to just write in it.
The reading for the admin-page is not time-relevant, and I think we don't need crazy statistics for this tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants