13 KiB
13 KiB
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
</head>
The documentation for this class was generated from the following files:
Generated by 1.9.5 </html>
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
|
Loading...
Searching...
No Matches
CraplogWorker Class Reference
Inheritance diagram for CraplogWorker:
Private Member Functions | |
void | joinLogLines () |
Reads the selected files and append the resulting lines to the list. More... | |
void | parseLogLines () |
Parses the lines in the list and stores their data in the data collection. More... | |
void | storeLogLines () |
Handles the process of storing data in the database. More... | |
const bool | storeData (QSqlDatabase &db) |
Stores the data collection in the logs Collection database. More... | |
Private Attributes | |
const unsigned | APACHE_ID = 11 |
ID of the Apache2 Web Server. | |
const unsigned | NGINX_ID = 12 |
ID of the Nginx Web Server. | |
const unsigned | IIS_ID = 13 |
ID of the IIS Web Server. | |
Member Function Documentation
◆ joinLogLines()
|
private |
Reads the selected files and append the resulting lines to the list.
- Exceptions
-
GenericException
◆ parseLogLines()
|
private |
Parses the lines in the list and stores their data in the data collection.
- Exceptions
-
LogParserException
◆ storeData()
|
private |
Stores the data collection in the logs Collection database.
- Parameters
-
db A database instance, already initizlized
- Returns
- Whether the operation has been successful or not
- Exceptions
-
WebServerException
◆ storeLogLines()
|
private |
Handles the process of storing data in the database.
- See also
- storeData()
The documentation for this class was generated from the following files:
- logdoctor/modules/craplog/modules/worker.h
- logdoctor/modules/craplog/modules/worker.cpp
Generated by 1.9.5 </html>