/[PAMELA software]/yoda/log4cxx.conf
ViewVC logotype

Contents of /yoda/log4cxx.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6.0 - (show annotations) (download)
Tue Feb 7 17:10:40 2006 UTC (18 years, 9 months ago) by kusanagi
Branch: MAIN
CVS Tags: YODA6_2/01, YODA6_2/00, YODA6_3/19, YODA6_3/18, YODA6_3/13, YODA6_3/12, YODA6_3/11, YODA6_3/10, YODA6_3/17, YODA6_3/16, YODA6_3/15, YODA6_3/14, YODA6_3/06, YODA6_1/00, YODA6_0/00, YODA6_3/04, YODA6_3/05, YODA6_3/20, YODA6_3/07, YODA6_3/00, YODA6_3/01, YODA6_3/02, YODA6_3/03, YODA6_3/08, YODA6_3/09, HEAD
Changes since 5.0: +0 -0 lines
Error occurred while calculating annotation data.
Several new features in this revision:
a) all the packets are conform to the Mass Memory Format specifications (http://people.roma2.infn.it/~cpu/Mass_Memory_Format.html)
b) unpacking either using the old files structure OR the new one file unpacking.
c) parametrized root files compression factor
d) deleting of the following packet: TofTest, TrkTest, TrkEvent.
e) the Tracker routines now work without the use of temp files.

The point a) allow Yoda to unpack in the root file all the packets generated by the CPU. According to the MassMemoryFormat; that is three possible data are available:

1) almost explicit structure of the packet (like for Log, Tracker, Mcmd, etc....);
2) dummy data collection structure (InitHeader, InitTrailer, CalibHeader, CalibTrailer);
3) just the data of the packet (almost all Alarm and Init procedures). The class regarding this packets have only one parameters, a TArrayC class, which contain the data-block included in the packet (tat is the data below the packet Header).

The point b) has been implemented as a consequence of an agreement about a more compact structure of the unpacked data. Up to now the structure of each unpacked data consisted of a folder, named after the packet type, and three files: xxx.Header.root, xxx.NamePacket.root, xxx.Registry.root.
Starting from this release YODA, by default will unpack the data in a unique root file. The structure of this file will consist of:
- several TTree(s) named after the packet type;
- into each TTree are foreseen three TBranche(s):
    - 'Header'  (the old xxx.Header.root file)
    - 'NameOfThePacket' (the old xxx.Event.root file or the xxx.Event.DETECTOR.root)
    - 'Registry' (the old xxx.Registry.root file)

Anyway is still possible, but deprecated, to unpack using the old structure, passing to the "yoda" command the optional parameter "-multifile"

The point c) has been implemented because is well know that writing time in a TTree is as much fast as much lower is the compression factor for the root file; anyway for a PAMELA dat file, a compression equal to 0 will generate a root file which will be more than two times the original size. To modify the compression parameter just add the optional parameter "-c [0-9]" to the yoda command line.

1
2 ##Eventually you can add more loggers using something like this below
3 #log4j.rootLogger=debug, A1, yourLogger1, yourLogger2
4
5 #The details level are:
6 # tons of logs --> DEBUG, INFO, WARN, ERROR, FATAL <-- just a few
7
8 #Set here the detail level for the standardOutput (the video)
9 log4j.rootLogger=ERROR, toStdout
10
11 #----------------------------------------------------------------
12 #Uncomment ALL the "log4j" lines below to activate the file log
13 #Threshold is a bug fixed in the to-be-released 0.9.8 version
14 #log4j.appender.toFile.Threshold=INFO
15 #Set here the detail level for the output to file
16 #log4j.rootLogger=INFO, toFile
17
18 #log4j.appender.toFile=org.apache.log4j.FileAppender
19
20 #Set here the path to your log file
21 #log4j.appender.toFile.File=putHereYourPath/YodaLog.log
22
23 #log4j.appender.toFile.layout=org.apache.log4j.PatternLayout
24 #log4j.appender.toFile.layout.ConversionPattern=%p %t %c - %m%n
25 #----------------------------------------------------------------
26
27
28 #----------------------------------------------------------------
29 # Below here you can define all the Appender and Layout for your custom Loggers
30 #log4j.appender.toStdout=org.apache.log4j.ConsoleAppender
31 #log4j.appender.toStdout.layout=org.apache.log4j.PatternLayout
32
33 #Threshold is a bug fixed in the to-be-released 0.9.8 version
34 #log4j.appender.toStdout.Threshold=ERROR
35 # Pattern to output the caller's file name and line number.
36 #log4j.appender.toStdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
37 #----------------------------------------------------------------

  ViewVC Help
Powered by ViewVC 1.1.23