The service is in development, as the code improves and reactor, corrections and new versions will be published
This program should be launched as the 'Windows Service' service. The program accepts one of the following arguments:
log_collector.exe [options] install|update|remove|start|stop
What does is understandable: installation, update, removal, launch, stop.
The working catalog with the program should have two configuration files:
PrintLogCollector_config.ini :
[mssql] ;DB MSSQL server settings
server= 'my_server' Имя сервера базе данных
database= 'my_db' Имя базы
user= 'my_username' Имя пользователя
pass= 'my_password' Пароль к базе данных
[printlogcollector]
bookmark_directory=ImportedBookmarks ;Directory to backup imported bookmarks
bookmark_filename=bookmark.xml ;Save stream to file when DB is not available
log_directory=Logs ;Directory to store log files
log_filename=PrintLogCollector.txt ;Log filename
The necessary components for the service of the service must be installed on the client.
Microsoft ODBC Driver 17 for SQL Server: https://wwww.microsoft.com/ru-ru/download/details.aspx?id=56567
Microsoft Visual C++ для Visual Studio 2015, 2017 и 2019 : https://support.microsoft.com/ru-ru/help/2977003/the-Supported-visual-c-downloads