4 <!-- Options for <loglevel>: 0 None, 1 Error, 2 Warning, 3 Info, 4 debug -->
9 <!-- define the list of routers our services will register with -->
11 <!-- This is the public router. On this router, we only register applications
12 which should be accessible to everyone on the opensrf network -->
14 <domain>public.localhost</domain>
16 <service>opensrf.math</service>
17 <service>open-ils.cat</service>
18 <service>open-ils.supercat</service>
19 <service>open-ils.search</service>
20 <service>open-ils.circ</service>
21 <service>open-ils.actor</service>
22 <service>open-ils.auth</service>
23 <service>open-ils.collections</service>
24 <service>open-ils.reporter</service>
29 <!-- This is the private router. All applications must register with
30 this router, so no explicit <services> section is required -->
32 <domain>private.localhost</domain>
36 <!-- Our domain should match that of the private router -->
37 <domain>private.localhost</domain>
38 <username>osrf</username>
42 <!-- name of the router used on our private domain.
43 this should match one of the <name> of the private router above -->
44 <router_name>router</router_name>
46 <logfile>/openils/var/log/osrfsys.log</logfile>
48 <logfile>syslog</logfile>
49 <syslog>local0</syslog>
50 <actlog>local1</actlog>
52 <loglevel>3</loglevel>
53 <settings_config>/openils/conf/opensrf.xml</settings_config>
57 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
61 <router_name>router</router_name>
63 <!-- The gateway connects to the public domain for security -->
64 <domain>public.localhost</domain>
66 <!-- this section will be soon deprecated for multi-domain mode... -->
68 <service>opensrf.math</service>
69 <service>opensrf.dbmath</service>
70 <service>open-ils.cat</service>
71 <service>open-ils.search</service>
72 <service>open-ils.circ</service>
73 <service>open-ils.actor</service>
74 <service>open-ils.auth</service>
75 <service>open-ils.collections</service>
76 <service>open-ils.reporter</service>
79 <!-- jabber login info -->
80 <username>osrf</username>
83 <loglevel>3</loglevel>
84 <logfile>/openils/var/log/gateway.log</logfile>
86 <logfile>syslog</logfile>
87 <syslog>local6</syslog>
88 <actlog>local1</actlog>
92 <!-- ======================================================================================== -->
95 <router> <!-- public router -->
97 <!-- allow private services to register with this router
98 and public client to send requests to this router. -->
99 <server>private.localhost</server>
100 <!-- also allow private clients to send to the router so it can receive error messages -->
101 <client>private.localhost</client>
102 <client>public.localhost</client>
105 <server>public.localhost</server>
107 <unixpath>/openils/var/sock/unix_sock</unixpath>
108 <username>router</username>
109 <password>osrf</password>
110 <resource>router</resource>
111 <connect_timeout>10</connect_timeout>
112 <max_reconnect_attempts>5</max_reconnect_attempts>
114 <logfile>syslog</logfile>
115 <syslog>local2</syslog>
116 <loglevel>5</loglevel>
118 <router> <!-- private router -->
120 <server>private.localhost</server>
121 <!-- only clients on the private domain can send requests to this router -->
122 <client>private.localhost</client>
125 <server>private.localhost</server>
127 <username>router</username>
128 <password>osrf</password>
129 <resource>router</resource>
130 <connect_timeout>10</connect_timeout>
131 <max_reconnect_attempts>5</max_reconnect_attempts>
133 <logfile>syslog</logfile>
134 <syslog>local2</syslog>
135 <loglevel>4</loglevel>
139 <!-- ======================================================================================== -->