Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 6df719a

Browse files
disable logging as first step
1 parent 186ab2e commit 6df719a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standalone/src/main/java/com/trivadis/plsql/formatter/TvdFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public class TvdFormat {
2424
}
2525

2626
public void run(String[] arguments) throws IOException, ScriptException {
27-
LogManager.getLogManager().reset();
2827
URL script = Thread.currentThread().getContextClassLoader().getResource("format.js");
2928
String[] args = new String[arguments.length + 1];
3029
args[0] = "format.js";
@@ -36,6 +35,7 @@ public void run(String[] arguments) throws IOException, ScriptException {
3635
}
3736

3837
public static void main(String[] args) throws IOException, ScriptException {
38+
LogManager.getLogManager().reset();
3939
System.setProperty("tvdformat.standalone", "true");
4040
System.setProperty("polyglot.engine.WarnInterpreterOnly", "false");
4141
TvdFormat formatter = new TvdFormat();

0 commit comments

Comments
 (0)