File tree Expand file tree Collapse file tree
src/main/java/org/jlab/clas/timeline Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44printError () { echo -e " \e[1;31m[ERROR]: $* \e[0m" >&2 ; }
55printWarning () { echo -e " \e[1;35m[WARNING]: $* \e[0m" >&2 ; }
66
7- # enable/disable verbose logger
8- log_config=logging # set to 'logging' for quiet, or to 'debug' for verbose
9-
107# get the source code directory
118[ -z " ${BASH_SOURCE[0]} " ] && this_env=$0 || this_env=${BASH_SOURCE[0]}
129export TIMELINESRC=$( realpath $( dirname $this_env ) /..)
2421# java options
2522timeline_java_opts=(
2623 -cp " $TIMELINESRC /target/*:$TIMELINESRC /target/dependency/*"
27- -Djava.util.logging.config.file=$TIMELINESRC /data/logging/$log_config .properties
2824 -Xmx2048m
2925 -XX:+UseSerialGC
3026 -Djava.awt.headless=true
3127)
28+
29+ # logger options
30+ timeline_java_opts+=(
31+ -Djava.util.logging.manager=org.jlab.logging.SplitLogManager
32+ -D.level=WARNING # global log level
33+ -Dorg.freehep.math.minuit.level=OFF
34+ -Dorg.jlab.io.hipo.level=OFF
35+ )
36+
37+ # export
3238export TIMELINE_JAVA_OPTS=" ${timeline_java_opts[*]} "
3339
3440# cleanup vars
3541unset this_env
36- unset log_config
3742unset timeline_java_opts
Original file line number Diff line number Diff line change 3535 <dependency >
3636 <groupId >org.jlab.coat</groupId >
3737 <artifactId >coat-libs</artifactId >
38- <version >13.4 .1</version >
38+ <version >13.5 .1</version >
3939 <type >jar</type >
4040 </dependency >
4141 <!-- https://mvnrepository.com/artifact/org.apache.groovy/groovy-all -->
Original file line number Diff line number Diff line change 99import org .jlab .io .base .DataEvent ;
1010import org .jlab .io .hipo .HipoDataSource ;
1111import org .jlab .groot .base .GStyle ;
12- import org .jlab .logging .DefaultLogger ;
1312
1413public class run_histograms {
1514 public run_histograms (){}
1615 ////////////////////////////////////////////////
1716 public static void main (String [] args ) {
1817 System .setProperty ("java.awt.headless" , "true" );
1918 GStyle .setPalette ("kRainBow" );
20- DefaultLogger .debug ();
2119 int count = 0 ;
2220 int runNum = 0 ;
2321 String outputDir = "plots" ;
You can’t perform that action at this time.
0 commit comments