HardwareMapperServiceConfig.fcl
Go to the documentation of this file.
1 BEGIN_PROLOG
2 
3 #=======================================================================
4 
5 #
6 # Hardware Mapper Service
7 #
8 standard_hardwaremapper: {
9  service_provider: HardwareMapperService
10  LogLevel: 0
11  NASICsPerBoard: 8
12  NBoardsPerAPA: 10
13 }
14 
15 #jpd -- define some message facility "destinations"
16 # -- LogHardwareMapperService will create a file with ONLY messages from HardwareMapperService
17 # -- LogNotHardwareMapperService is the opposite
18 
19 #jpd -- To use these add these two lines to your fcl:
20 # '''
21 # services.message: @local::dune_message_services_prod_debug
22 # services.message.destinations.LogHardwareMapper: @local::HardwareMapperDest.LogHardwareMapperService
23 # '''
24 
25 HardwareMapperDest: {
26 
27  LogHardwareMapperService: {
28  type: "file"
29  filename: "LogHardwareMapperService.txt"
30  append: false
31  threshold: "INFO"
32  categories: {
33  default: {
34  limit: 0
35  }
36  HardwareMapperService: {
37  limit: -1
38  }#HardwareMapperService
39  }#categories
40  }#LogHardwareMapperService
41 
42  LogNotHardwareMapperService: {
43  type: "file"
44  filename: "LogNotHardwareMapperService.txt"
45  append: false
46  threshold: "INFO"
47  categories: {
48  default: {
49  limit: -1
50  }
51  HardwareMapperService: {
52  limit: 0
53 
54  }#HardwareMapperService
55  }#categories
56  }#LogNotHardwareMapperService
57 }#HardwareMapperDest
58 
59 END_PROLOG