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:
pengzhile
2022-01-13 19:31:41 +08:00
parent 9f0d195b93
commit f625cfc738
7 changed files with 47 additions and 11 deletions
+5 -1
View File
@@ -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~