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.fielder</service>
24 <service>open-ils.collections</service>
25 <service>open-ils.reporter</service>
30 <!-- This is the private router. All applications must register with
31 this router, so no explicit <services> section is required -->
33 <domain>private.localhost</domain>
37 <!-- Our domain should match that of the private router -->
38 <domain>private.localhost</domain>
39 <username>osrf</username>
43 <!-- name of the router used on our private domain.
44 this should match one of the <name> of the private router above -->
45 <router_name>router</router_name>
47 <logfile>/openils/var/log/osrfsys.log</logfile>
49 <logfile>syslog</logfile>
50 <syslog>local0</syslog>
51 <actlog>local1</actlog>
53 <loglevel>3</loglevel>
54 <settings_config>/openils/conf/opensrf.xml</settings_config>
58 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
62 <router_name>router</router_name>
64 <!-- The gateway connects to the public domain for security -->
65 <domain>public.localhost</domain>
67 <!-- this section will be soon deprecated for multi-domain mode... -->
69 <service>opensrf.math</service>
70 <service>opensrf.dbmath</service>
71 <service>open-ils.cat</service>
72 <service>open-ils.search</service>
73 <service>open-ils.circ</service>
74 <service>open-ils.actor</service>
75 <service>open-ils.auth</service>
76 <service>open-ils.collections</service>
77 <service>open-ils.reporter</service>
80 <!-- jabber login info -->
81 <username>osrf</username>
84 <loglevel>3</loglevel>
85 <logfile>/openils/var/log/gateway.log</logfile>
87 <logfile>syslog</logfile>
88 <syslog>local6</syslog>
89 <actlog>local1</actlog>
93 <!-- ======================================================================================== -->
96 <router> <!-- public router -->
98 <!-- allow private services to register with this router
99 and public client to send requests to this router. -->
100 <server>private.localhost</server>
101 <!-- also allow private clients to send to the router so it can receive error messages -->
102 <client>private.localhost</client>
103 <client>public.localhost</client>
106 <server>public.localhost</server>
108 <unixpath>/openils/var/sock/unix_sock</unixpath>
109 <username>router</username>
110 <password>osrf</password>
111 <resource>router</resource>
112 <connect_timeout>10</connect_timeout>
113 <max_reconnect_attempts>5</max_reconnect_attempts>
115 <logfile>syslog</logfile>
116 <syslog>local2</syslog>
117 <loglevel>5</loglevel>
119 <router> <!-- private router -->
121 <server>private.localhost</server>
122 <!-- only clients on the private domain can send requests to this router -->
123 <client>private.localhost</client>
126 <server>private.localhost</server>
128 <username>router</username>
129 <password>osrf</password>
130 <resource>router</resource>
131 <connect_timeout>10</connect_timeout>
132 <max_reconnect_attempts>5</max_reconnect_attempts>
134 <logfile>syslog</logfile>
135 <syslog>local2</syslog>
136 <loglevel>4</loglevel>
140 <!-- ======================================================================================== -->