mirror of
https://gitee.com/ja-netfilter/ja-netfilter.git
synced 2026-09-21 22:50:49 +08:00
1. fix debug info (thank RayGicEFL)
2. split conf and plugins directories by javaagent args Signed-off-by: pengzhile <[email protected]>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# ja-netfilter v2.0.1
|
||||
# ja-netfilter v2.1.0
|
||||
|
||||
### A javaagent framework
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
* **WARNING: DO NOT put some unnecessary whitespace characters!**
|
||||
|
||||
* edit your plugin config files: `${lower plugin name}.conf` file in the `conf` dir where `ja-netfilter.jar` is located.
|
||||
* the `conf` and `plugins` directory can be specified through **the javaagent args**.
|
||||
* eg: `-javaagent:/path/to/ja-netfilter.jar=appName`, your config and plugins directories will be `conf-appname` and `plugins-appname`.
|
||||
* if no javaagent args, they default to `conf` and `plugins`.
|
||||
* this mechanism will avoid extraneous and bloated `conf` and `plugins`.
|
||||
|
||||
* run your java application and enjoy~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user