summaryrefslogtreecommitdiff
path: root/src/webstat_logger_main.cpp
Commit message (Collapse)AuthorAge
* Add logging :-oDan Goodliffe2026-03-20
| | | | | | | Adds virtual log function, real implementation writes to syslog. Test implementation writes to BOOST_TEST_MESSAGE, perf implementation discards. Replaces existing prints to stderr and adds logs to all key points.
* Insert log entries in batchesDan Goodliffe2026-03-20
| | | | | | | | | | Store log lines in memory until threshold is reach or idle occurs, then insert all the lines in a single transaction. Save points handle the case of insertion errors. On success the queue is cleared. Parked lines also saved in bulk, only necessary if queued lines could not be inserted on shutdown, else the queue simply grows until ability to insert is restored. Importing parked lines just adds them to the queue and the normal process then follows.
* Execute jobs even when processing incoming logsDan Goodliffe2026-03-17
| | | | | Jobs run on background threads now, so we can happily run them even when we're busy.
* Add job for puring old access log entries from the databaseDan Goodliffe2025-12-20
|
* Add support for configuring frequency of parked line jobDan Goodliffe2025-12-20
|
* Add point to execute scheduled jobs when idleDan Goodliffe2025-10-02
|
* Write log lines to files on errorDan Goodliffe2025-09-30
| | | | | We call this parking, later we can reattempt ingestion after whatever caused the failure has been fixed.
* Create settings structureDan Goodliffe2025-09-24
| | | | | | | Holds all the settings and their defaults for use in program_options and tests. Disables missing-field-initializers in tests because its over sensitive to structures with defaults where you only provide some values specifically.
* Gracefully handle fatal exceptions and display messageDan Goodliffe2025-09-19
|
* Store utsname details in the host's detail fieldDan Goodliffe2025-09-02
|
* Support configuring the DB poolDan Goodliffe2025-09-01
|
* Use a DB connection pool rather than a single connectionDan Goodliffe2025-09-01
|
* Add basic boost::program_options supportDan Goodliffe2025-09-01
|
* Provide hostname to IngestorDan Goodliffe2025-08-25
| | | | Store its Entity immediately for later use.
* Pass a DB connection to IngestorDan Goodliffe2025-08-25
|
* Initial commit; basic Apache log parsingDan Goodliffe2025-08-25