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>
37 <!-- Our domain should match that of the private router -->
38 <domain>private.localhost</domain>
39 <username>osrf</username>
43 <logfile>/openils/var/log/osrfsys.log</logfile>
45 <logfile>syslog</logfile>
46 <syslog>local0</syslog>
47 <actlog>local1</actlog>
49 <loglevel>3</loglevel>
50 <settings_config>/openils/conf/opensrf.xml</settings_config>
54 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
58 <router_name>router</router_name>
60 <!-- The gateway connects to the public domain for security -->
61 <domain>public.localhost</domain>
63 <!-- this section will be soon deprecated for multi-domain mode... -->
65 <service>opensrf.math</service>
66 <service>opensrf.dbmath</service>
67 <service>open-ils.cat</service>
68 <service>open-ils.search</service>
69 <service>open-ils.circ</service>
70 <service>open-ils.actor</service>
71 <service>open-ils.auth</service>
72 <service>open-ils.collections</service>
73 <service>open-ils.reporter</service>
76 <!-- jabber login info -->
77 <username>osrf</username>
80 <loglevel>3</loglevel>
81 <logfile>/openils/var/log/gateway.log</logfile>
83 <logfile>syslog</logfile>
84 <syslog>local6</syslog>
85 <actlog>local1</actlog>
89 <!-- ======================================================================================== -->
92 <router> <!-- public router -->
94 <!-- allow private services to register with this router
95 and public client to send requests to this router. -->
96 <server>private.localhost</server>
97 <!-- also allow private clients to send to the router so it can receive error messages -->
98 <client>private.localhost</client>
99 <client>public.localhost</client>
102 <server>public.localhost</server>
104 <unixpath>/openils/var/sock/unix_sock</unixpath>
105 <username>router</username>
106 <password>osrf</password>
107 <resource>router</resource>
108 <connect_timeout>10</connect_timeout>
109 <max_reconnect_attempts>5</max_reconnect_attempts>
111 <logfile>syslog</logfile>
112 <syslog>local2</syslog>
113 <loglevel>5</loglevel>
115 <router> <!-- private router -->
117 <server>private.localhost</server>
118 <!-- only clients on the private domain can send requests to this router -->
119 <client>private.localhost</client>
122 <server>private.localhost</server>
124 <username>router</username>
125 <password>osrf</password>
126 <resource>router</resource>
127 <connect_timeout>10</connect_timeout>
128 <max_reconnect_attempts>5</max_reconnect_attempts>
130 <logfile>syslog</logfile>
131 <syslog>local2</syslog>
132 <loglevel>4</loglevel>
136 <!-- ======================================================================================== -->