File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 55 <artifactId >clojure</artifactId >
66 <name >clojure</name >
77 <packaging >jar</packaging >
8- <version >1.12.2 -1</version >
8+ <version >1.12.3 -1</version >
99 <url >http://clojure.org/</url >
1010 <description >Clojure core environment and runtime library.</description >
1111
Original file line number Diff line number Diff line change @@ -525,8 +525,7 @@ by default when a new command-line REPL is started."} repl-requires
525525 present"
526526 [[_ & args] inits]
527527 (when-not (some #(= eval-opt (init-dispatch (first %))) inits)
528- (println " ClojureStorm" (clojure-version ))
529- (println " \n Evaluate the :help keyword for more info or :tut/basics for a beginners tour.\n " ))
528+ (println " ClojureStorm" (clojure-version )))
530529 (repl :init (fn []
531530 (initialize args inits)
532531 (apply require repl-requires)))
Original file line number Diff line number Diff line change 66import java .util .stream .Collectors ;
77import java .util .regex .Matcher ;
88import java .util .regex .Pattern ;
9+ import java .util .logging .Logger ;
910
1011import clojure .asm .Opcodes ;
1112import clojure .asm .Type ;
3233
3334public class Emitter {
3435
36+ private static Logger logger = Logger .getLogger ("clojure.storm" );
37+
3538 final static Type TRACER_CLASS_TYPE = Type .getType (Tracer .class );
3639 final static Type OBJECT_CLASS_TYPE = Type .getType (Object .class );
3740 final static Type INT_TYPE = Type .getType (int .class );
@@ -70,7 +73,7 @@ public class Emitter {
7073 // This is kind of hacky because ClojureStorm shouldn't have anything related to
7174 // flow-storm, but we want to be sure that we never automatically instrument flow-storm root
7275 if (!autoPrefix .equals ("flow-storm" ) && !autoPrefix .equals ("clojure" )) {
73- System . out . println ("ClojureStorm adding instrumentation auto prefix " + autoPrefix );
76+ logger . info ("ClojureStorm adding instrumentation auto prefix " + autoPrefix );
7477 addInstrumentationOnlyPrefix (autoPrefix );
7578 }
7679
@@ -99,7 +102,7 @@ public Object invoke(Object prev) {
99102 }
100103 };
101104 INSTRUMENTATION_ENABLE .alterRoot (f ,null );
102- System . out . println ("Storm instrumentation set to: " + INSTRUMENTATION_ENABLE .deref ());
105+ logger . info ("Storm instrumentation set to: " + INSTRUMENTATION_ENABLE .deref ());
103106 }
104107
105108 public static Boolean getInstrumentationEnable () {
You can’t perform that action at this time.
0 commit comments