1. adjust log record time

2. add logger output flag: OUTPUT_WITH_PID

Signed-off-by: pengzhile <[email protected]>
This commit is contained in:
pengzhile
2022-02-22 15:43:49 +08:00
parent 17a4b412dd
commit a9df6b6634
4 changed files with 20 additions and 7 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
# ja-netfilter v2.3.1
# ja-netfilter v2.3.2
### A javaagent framework
@@ -56,7 +56,8 @@ EQUAL,somedomain
* 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`]
* output medium value: [`NONE=0`, `CONSOLE=1`, `FILE=2`, `CONSOLE+FILE=3`, `WITH_PID=4`]
* eg: `console` + `file` + `pid file name` = 1 + 2 + 4 = 7, so the `-Djanf.output=7`
## Plugin system