mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 14:39:53 +01:00
52959b91da
* sample(DBLogger): New sample to demonstrate DB logging to a file. (#4750) * sample(DBLogger): Create messages via SQL logger in a thread (#4750) * sample(DBLogger): Save messages from SQL files to an SQL database (works with SQLite) (#4750) * chore(Makefile): Data samples depend on PocoUtil (#4750) * 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>
452 lines
12 KiB
XML
452 lines
12 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
Name="DBLogger"
|
|
Version="9.00"
|
|
ProjectType="Visual C++"
|
|
ProjectGUID="{133C62C7-3301-3F43-9ABF-14DF094A042F}"
|
|
RootNamespace="DBLogger"
|
|
Keyword="Win32Proj">
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"/>
|
|
</Platforms>
|
|
<ToolFiles/>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="debug_shared|Win32"
|
|
OutputDirectory="obj\$(ConfigurationName)"
|
|
IntermediateDirectory="obj\$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCMIDLTool"/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\XML\include;..\..\..\JSON\include;..\..\..\Util\include;..\..\..\Data\include;..\..\..\Data\SQLite\include"
|
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;"
|
|
StringPooling="true"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
BufferSecurityCheck="true"
|
|
TreatWChar_tAsBuiltInType="true"
|
|
ForceConformanceInForLoopScope="true"
|
|
RuntimeTypeInfo="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
Detect64BitPortabilityProblems="false"
|
|
DebugInformationFormat="3"
|
|
CompileAs="0"
|
|
DisableSpecificWarnings=""
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="iphlpapi.lib"
|
|
OutputFile="bin\DBLoggerd.exe"
|
|
LinkIncremental="2"
|
|
AdditionalLibraryDirectories="..\..\..\lib"
|
|
SuppressStartupBanner="true"
|
|
GenerateDebugInformation="true"
|
|
ProgramDatabaseFile="bin\DBLoggerd.pdb"
|
|
SubSystem="1"
|
|
TargetMachine="1"
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCALinkTool"/>
|
|
<Tool
|
|
Name="VCManifestTool"/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"/>
|
|
<Tool
|
|
Name="VCBscMakeTool"/>
|
|
<Tool
|
|
Name="VCFxCopTool"/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="release_shared|Win32"
|
|
OutputDirectory="obj\$(ConfigurationName)"
|
|
IntermediateDirectory="obj\$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCMIDLTool"/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="4"
|
|
InlineFunctionExpansion="1"
|
|
EnableIntrinsicFunctions="true"
|
|
FavorSizeOrSpeed="1"
|
|
OmitFramePointers="true"
|
|
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\XML\include;..\..\..\JSON\include;..\..\..\Util\include;..\..\..\Data\include;..\..\..\Data\SQLite\include"
|
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;"
|
|
StringPooling="true"
|
|
RuntimeLibrary="2"
|
|
BufferSecurityCheck="false"
|
|
TreatWChar_tAsBuiltInType="true"
|
|
ForceConformanceInForLoopScope="true"
|
|
RuntimeTypeInfo="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
Detect64BitPortabilityProblems="false"
|
|
DebugInformationFormat="0"
|
|
CompileAs="0"
|
|
DisableSpecificWarnings=""
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="iphlpapi.lib"
|
|
OutputFile="bin\DBLogger.exe"
|
|
LinkIncremental="1"
|
|
AdditionalLibraryDirectories="..\..\..\lib"
|
|
GenerateDebugInformation="false"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCALinkTool"/>
|
|
<Tool
|
|
Name="VCManifestTool"/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"/>
|
|
<Tool
|
|
Name="VCBscMakeTool"/>
|
|
<Tool
|
|
Name="VCFxCopTool"/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="debug_static_mt|Win32"
|
|
OutputDirectory="obj\$(ConfigurationName)"
|
|
IntermediateDirectory="obj\$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCMIDLTool"/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="4"
|
|
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\XML\include;..\..\..\JSON\include;..\..\..\Util\include;..\..\..\Data\include;..\..\..\Data\SQLite\include"
|
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
|
|
StringPooling="true"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="1"
|
|
BufferSecurityCheck="true"
|
|
TreatWChar_tAsBuiltInType="true"
|
|
ForceConformanceInForLoopScope="true"
|
|
RuntimeTypeInfo="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
Detect64BitPortabilityProblems="false"
|
|
DebugInformationFormat="3"
|
|
CompileAs="0"
|
|
DisableSpecificWarnings=""
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="iphlpapi.lib winmm.lib iphlpapi.lib"
|
|
OutputFile="bin\static_mt\DBLoggerd.exe"
|
|
LinkIncremental="2"
|
|
AdditionalLibraryDirectories="..\..\..\lib"
|
|
SuppressStartupBanner="true"
|
|
GenerateDebugInformation="true"
|
|
ProgramDatabaseFile="bin\static_mt\DBLoggerd.pdb"
|
|
SubSystem="1"
|
|
TargetMachine="1"
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCALinkTool"/>
|
|
<Tool
|
|
Name="VCManifestTool"/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"/>
|
|
<Tool
|
|
Name="VCBscMakeTool"/>
|
|
<Tool
|
|
Name="VCFxCopTool"/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="release_static_mt|Win32"
|
|
OutputDirectory="obj\$(ConfigurationName)"
|
|
IntermediateDirectory="obj\$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCMIDLTool"/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="4"
|
|
InlineFunctionExpansion="1"
|
|
EnableIntrinsicFunctions="true"
|
|
FavorSizeOrSpeed="1"
|
|
OmitFramePointers="true"
|
|
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\XML\include;..\..\..\JSON\include;..\..\..\Util\include;..\..\..\Data\include;..\..\..\Data\SQLite\include"
|
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
|
|
StringPooling="true"
|
|
RuntimeLibrary="0"
|
|
BufferSecurityCheck="false"
|
|
TreatWChar_tAsBuiltInType="true"
|
|
ForceConformanceInForLoopScope="true"
|
|
RuntimeTypeInfo="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
Detect64BitPortabilityProblems="false"
|
|
DebugInformationFormat="0"
|
|
CompileAs="0"
|
|
DisableSpecificWarnings=""
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="iphlpapi.lib winmm.lib iphlpapi.lib"
|
|
OutputFile="bin\static_mt\DBLogger.exe"
|
|
LinkIncremental="1"
|
|
AdditionalLibraryDirectories="..\..\..\lib"
|
|
GenerateDebugInformation="false"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCALinkTool"/>
|
|
<Tool
|
|
Name="VCManifestTool"/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"/>
|
|
<Tool
|
|
Name="VCBscMakeTool"/>
|
|
<Tool
|
|
Name="VCFxCopTool"/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="debug_static_md|Win32"
|
|
OutputDirectory="obj\$(ConfigurationName)"
|
|
IntermediateDirectory="obj\$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCMIDLTool"/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="4"
|
|
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\XML\include;..\..\..\JSON\include;..\..\..\Util\include;..\..\..\Data\include;..\..\..\Data\SQLite\include"
|
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
|
|
StringPooling="true"
|
|
MinimalRebuild="true"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
BufferSecurityCheck="true"
|
|
TreatWChar_tAsBuiltInType="true"
|
|
ForceConformanceInForLoopScope="true"
|
|
RuntimeTypeInfo="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
Detect64BitPortabilityProblems="false"
|
|
DebugInformationFormat="3"
|
|
CompileAs="0"
|
|
DisableSpecificWarnings=""
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="iphlpapi.lib winmm.lib iphlpapi.lib"
|
|
OutputFile="bin\static_md\DBLoggerd.exe"
|
|
LinkIncremental="2"
|
|
AdditionalLibraryDirectories="..\..\..\lib"
|
|
SuppressStartupBanner="true"
|
|
GenerateDebugInformation="true"
|
|
ProgramDatabaseFile="bin\static_md\DBLoggerd.pdb"
|
|
SubSystem="1"
|
|
TargetMachine="1"
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCALinkTool"/>
|
|
<Tool
|
|
Name="VCManifestTool"/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"/>
|
|
<Tool
|
|
Name="VCBscMakeTool"/>
|
|
<Tool
|
|
Name="VCFxCopTool"/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="release_static_md|Win32"
|
|
OutputDirectory="obj\$(ConfigurationName)"
|
|
IntermediateDirectory="obj\$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCXMLDataGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCMIDLTool"/>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="4"
|
|
InlineFunctionExpansion="1"
|
|
EnableIntrinsicFunctions="true"
|
|
FavorSizeOrSpeed="1"
|
|
OmitFramePointers="true"
|
|
AdditionalIncludeDirectories=".\include;..\..\..\Foundation\include;..\..\..\XML\include;..\..\..\JSON\include;..\..\..\Util\include;..\..\..\Data\include;..\..\..\Data\SQLite\include"
|
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WINVER=0x0500;POCO_STATIC;"
|
|
StringPooling="true"
|
|
RuntimeLibrary="2"
|
|
BufferSecurityCheck="false"
|
|
TreatWChar_tAsBuiltInType="true"
|
|
ForceConformanceInForLoopScope="true"
|
|
RuntimeTypeInfo="true"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="3"
|
|
Detect64BitPortabilityProblems="false"
|
|
DebugInformationFormat="0"
|
|
CompileAs="0"
|
|
DisableSpecificWarnings=""
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCManagedResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="iphlpapi.lib winmm.lib iphlpapi.lib"
|
|
OutputFile="bin\static_md\DBLogger.exe"
|
|
LinkIncremental="1"
|
|
AdditionalLibraryDirectories="..\..\..\lib"
|
|
GenerateDebugInformation="false"
|
|
SubSystem="1"
|
|
OptimizeReferences="2"
|
|
EnableCOMDATFolding="2"
|
|
TargetMachine="1"
|
|
AdditionalOptions=""/>
|
|
<Tool
|
|
Name="VCALinkTool"/>
|
|
<Tool
|
|
Name="VCManifestTool"/>
|
|
<Tool
|
|
Name="VCXDCMakeTool"/>
|
|
<Tool
|
|
Name="VCBscMakeTool"/>
|
|
<Tool
|
|
Name="VCFxCopTool"/>
|
|
<Tool
|
|
Name="VCAppVerifierTool"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References/>
|
|
<Files>
|
|
<Filter
|
|
Name="Header Files"/>
|
|
<File
|
|
RelativePath=".\src\SQLLogInserter.cpp"/>
|
|
<Filter
|
|
Name="Source Files">
|
|
<File
|
|
RelativePath=".\src\DBLogger.cpp"/>
|
|
<File
|
|
RelativePath=".\src\SQLLogInserter.cpp"/>
|
|
</Filter>
|
|
</Files>
|
|
<Globals/>
|
|
</VisualStudioProject>
|