File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed
Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " mysql-audit-extend"
3- version = " 0.2.2 "
3+ version = " 0.2.3 "
44edition = " 2021"
55authors = [" seeker" ]
66description = " An extension tool of mysql-audit, which provides functions such as log rotation and log cleaning."
77license = " MIT"
8- documentation = " https://docs.rs/crate/mysql-audit-extend/0.2.2 "
8+ documentation = " https://docs.rs/crate/mysql-audit-extend/0.2.3 "
99repository = " https://gitee.com/seeker_rs/mysql-audit-extend"
1010
1111# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Original file line number Diff line number Diff line change 11# mysql-audit-extend
22
33#### 1.Introduce
4+ Notice: ` This is a binary application. `
5+
46The extension of mysql-audit, the mysql audit plugin for mcafee, enhances the plugin function.
57
68#### 2.Install
79``` shell
810cargo install mysql-audit-extend
911```
1012
11- #### 3.Support platform
13+ #### 3.Run
14+ ``` shell
15+ # View help
16+ mysql-audit-extend -h
17+
18+ OUTPUT:
19+ USAGE:
20+ mysql-audit-extend [OPTIONS]
21+
22+ OPTIONS:
23+ -f, --max-file < MAX_FILE> Maximum number of files to keep [default: 10]
24+ -h, --help Print help information
25+ -m, --max-size < MAX_SIZE> Maximum file size, Unit: MB [default: 10]
26+ -p, --path < PATH> Absolute path to log file [default:
27+ /var/lib/mysql/mysql-audit.json]
28+ -V, --version Print version information
29+
30+
31+ # Run with default configuration
32+ mysql-audit-extend
33+
34+ # Run with custom configuration
35+ mysql-audit-extend -p /var/lib/mysql/mysql-audit.json -m 100 -f 30
36+ ```
37+
38+ #### 4.Support platform
1239> Currently only supports Linux operating system.
1340
1441* Linux
You can’t perform that action at this time.
0 commit comments