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

DBLogger sample #4750

Open
1 task
aleks-f opened this issue Oct 30, 2024 · 0 comments · May be fixed by #4759
Open
1 task

DBLogger sample #4750

aleks-f opened this issue Oct 30, 2024 · 0 comments · May be fixed by #4759
Assignees

Comments

@aleks-f
Copy link
Member

aleks-f commented Oct 30, 2024

  • create a Util::ServerApplication-based DBLogger sample in Poco::Data which:
    • connects to a database
    • logging thread produces some logs via SQLChannel in store-and-forward mode
    • forwarding thread:
      • monitors the directory where files with *.sql extension (containing SQL inserts statements) are saved by SQLChannel in store-and-forward mode
      • executes the queries in the *.sql files
        • in case of success, deletes the *.sql file
        • in case of error, renames the offending file from *.sql to *.err
      • any files with extension different from *.sql are ignored
    • use sqlite db for the sample (like other Poco::Data samples)
@aleks-f aleks-f changed the title create a Util::ServerApplication-based DBLogger sample in Poco::Data which: DBLogger sample Oct 30, 2024
@aleks-f aleks-f added this to 1.14 Oct 30, 2024
@aleks-f aleks-f added this to the Release 1.14.0 milestone Oct 30, 2024
@matejk matejk moved this to In Progress in 1.14 Nov 6, 2024
matejk added a commit that referenced this issue Nov 6, 2024
@matejk matejk linked a pull request Nov 6, 2024 that will close this issue
matejk added a commit that referenced this issue Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants