1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-03-26 00:20:34 +01:00
Matej Kenda 52959b91da
DB logger sample ()
* sample(DBLogger): New sample to demonstrate DB logging to a file. ()

* sample(DBLogger): Create messages via SQL logger in a thread ()

* sample(DBLogger): Save messages from SQL files to an SQL database (works with SQLite) ()

* chore(Makefile): Data samples depend on PocoUtil ()

* sample(DBLogger): Refactored DBLogger with std::filesystem::directory_iterator and std::thread.

* sample(DBLogger): Add missing include <condition_variable>

* sample(DBLogger): Extracted log scanning and inserting functionality to class SQLLogInserter.

* sample(DBLogger): Create new logging table only when using demo messages option.

* feat(DBLogger): VS projects

* sample(DBLogger): Acquire options from configuration file.

* feat(DBLogger): regenerate VS projects (progen file change)

* sample(DBLogger): Add example DBLogger.properties file.

* sample(DBLogger): Process as much as possible when stopping processing.

* sample(DBLogger): Meaningful defaults in properties file.

* sample(DBLogger): Verify validity of database session on startup.

* sample(DBLogger): Configure demo SQL channel in properties file.

* chore(DBLogger): style and warnings

---------

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2024-11-18 17:06:20 +01:00

20 lines
363 B
Makefile

#
# Makefile
#
# Makefile for Poco Data DBLogger sample
#
include $(POCO_BASE)/build/rules/global
objects = DBLogger SQLLogInserter
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = DBLogger
target_version = 1
target_libs = PocoDataSQLite PocoData PocoFoundation PocoUtil
include $(POCO_BASE)/build/rules/exec