The audit trail generator sample is included in the distribution package and is located in the samples directory. This tool can be used to generate the audit trail files.
Example:
./AuditTrailGenerator --location ./LogFileToAnalyse.summary
Source code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
22
24
25int main(
int argc,
char* argv[])
26{
27
29
30 try
31 {
32 Tools::AuditTrailGenerator{cfg.location()}.generate();
33 }
34 catch (const std::exception& ex)
35 {
36 std::cerr << "EXCEPTION: " << ex.what() << std::endl;
37 return 1;
38 }
39
40 std::clog << "Done." << std::endl;
41
42 return 0;
43}
#define ONIXS_ICEBOE_NAMESPACE
int main(int argc, char *argv[])