mirror of
https://gitee.com/ja-netfilter/ja-netfilter.git
synced 2026-09-21 22:50:49 +08:00
add logger property: janf.output
Signed-off-by: pengzhile <[email protected]>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# ja-netfilter v2.3.0
|
||||
# ja-netfilter v2.3.1
|
||||
|
||||
### A javaagent framework
|
||||
|
||||
@@ -51,6 +51,13 @@ EQUAL,somedomain
|
||||
* or add system property `-Djanf.debug=1` (log level) to enable it
|
||||
* log level: `NONE=0`, `DEBUG=1`, `INFO=2`, `WARN=3`, `ERROR=4`
|
||||
|
||||
## Debug output
|
||||
|
||||
* the `ja-netfilter` will output debugging information to the `console` by default
|
||||
* add environment variable `JANF_OUTPUT=value` and start to change output medium
|
||||
* or add system property `-Djanf.output=value` to change output medium
|
||||
* output medium value: [`NONE=0`, `CONSOLE=1`, `FILE=2`, `CONSOLE+FILE=3`]
|
||||
|
||||
## Plugin system
|
||||
|
||||
* for developer:
|
||||
|
||||
Reference in New Issue
Block a user