[slf4j-dev] svn commit: r1229 - slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/agent
ravn at slf4j.org
ravn at slf4j.org
Thu Nov 13 00:32:40 CET 2008
Author: ravn
Date: Thu Nov 13 00:32:40 2008
New Revision: 1229
Modified:
slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/agent/AgentPremain.java
Log:
changed option separator back to "," (comma) and the ignore list separator to ":" (colon). The semicolon did not work well on Unix.
Modified: slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/agent/AgentPremain.java
==============================================================================
--- slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/agent/AgentPremain.java (original)
+++ slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/agent/AgentPremain.java Thu Nov 13 00:32:40 2008
@@ -36,7 +36,7 @@
builder = builder.addEntryExit(true);
if (agentArgument != null) {
- Properties args = parseArguments(agentArgument, ";");
+ Properties args = parseArguments(agentArgument, ",");
if (args.containsKey(AgentOptions.VERBOSE)) {
builder = builder.verbose(true);
@@ -48,7 +48,7 @@
if (args.containsKey(AgentOptions.IGNORE)) {
String ignore = args.getProperty(AgentOptions.IGNORE);
- builder = builder.ignore(ignore.split(","));
+ builder = builder.ignore(ignore.split(":"));
}
if (args.containsKey(AgentOptions.LEVEL)) {
More information about the slf4j-dev
mailing list