[OPEN-ILS-DEV] no log for open-ils.auth

Bill Erickson billserickson at gmail.com
Tue Mar 20 11:07:12 EDT 2007


On 3/20/07, Bill Ott <bott at grpl.org> wrote:
>
> In working through my client login problems.   This appears to be a
> problem.  I see open-ils.auth running, but somehow never get a log file
> from it.  Am I missing something obvious?
>
> # ps ax|grep open-ils.auth
> 3908 pts/0    S      0:00 OpenSRF Listener [open-ils.auth]
> 3922 pts/0    S      0:00 OpenSRF Drone [open-ils.auth]
> 3923 pts/0    S      0:00 OpenSRF Drone [open-ils.auth]
> 3924 pts/0    S      0:00 OpenSRF Drone [ open-ils.auth]
> 3925 pts/0    S      0:00 OpenSRF Drone [open-ils.auth]
> 3926 pts/0    S      0:00 OpenSRF Drone [open-ils.auth]
>
>
> /openils/var/log
>
> -rw-r--r-- 1 opensrf opensrf        335618 Mar 20 04:55 gateway.log
> -rw-r--r-- 1 opensrf opensrf        3879 Mar 20 04:52
> open-ils.actor_unix.log
> -rw-r--r-- 1 opensrf opensrf        3853 Mar 20 04:52
> open-ils.cat_unix.log
> -rw-r--r-- 1 opensrf opensrf        3866 Mar 20 04:52
> open-ils.circ_unix.log
> -rw-r--r-- 1 opensrf opensrf        3892 Mar 20 04:52
> open-ils.ingest-unix.log
> -rw-r--r-- 1 opensrf opensrf        3905 Mar 20 04:52
> open-ils.penalty_unix.log
> -rw-r--r-- 1 opensrf opensrf        3918 Mar 20 04:52
> open-ils.reporter_unix.log
> -rw-r--r-- 1 opensrf opensrf        3892 Mar 20 04:52
> open-ils.search_unix.log
> -rw-r--r-- 1 opensrf opensrf        3944 Mar 20 04:52
> opensrf.collections_unix.log
> -rw-r--r-- 1 opensrf opensrf        3892 Mar 20 04:52
> opensrf.persist_unix.log
> -rw-r--r-- 1 opensrf opensrf        3987 Mar 20 04:52
> opensrf.settings_unix.log
> -rw-r--r-- 1 opensrf opensrf    29045324 Mar 20 04:56 osrfsys.log
> -rw-r--r-- 1 opensrf opensrf      846024 Mar 20 04:55 router.log
> -rw-r--r-- 1 opensrf opensrf      138617 Mar 18 21:07 srfsh.log
>
>
>
> From opensrf.xml
>
>                         <!-- Authentication server -->
>                         <open-ils.auth >
>                                 <keepalive>5</keepalive>
>                                 <stateless>1</stateless>
>                                 <language>C</language>
>
> <implementation>oils_auth.so</implementation>
>                                 <max_requests>93</max_requests>
>
>                                 <unix_config>
>
> <unix_sock> open-ils.auth_unix.sock</unix_sock>
>
> <unix_pid>open-ils.auth_unix.pid</unix_pid>
>                                         <max_requests>1000</max_requests>
>
> <unix_log>open-ils.auth_unix.log </unix_log>
>                                         <min_children>5</min_children>
>                                         <max_children>35</max_children>
>
> <min_spare_children>2</min_spare_children>
>
> <max_spare_children>5</max_spare_children>
>                                 </unix_config>
>
>                                 <app_settings>
>                                         <!-- if true, user sessions will
> be persisted via the OpenSRF persist
>                                                         server in
> addition to memcache -->
>                                         <persist_users>0</persist_users>
>
>                                         <!-- default session timeouts by
> login type -->
>                                         <default_timeout>
>                                                 <opac>300</opac>
>                                                 <staff>28800</staff>
>                                            <temp>300</temp> <!--
> temporary login -->
>                                         </default_timeout>
>
>                                 </app_settings>
>
>                         </open-ils.auth>
>
>

Bill,

Excellent question.  The <unix_log> settings are used for Perl's Net::Server
module error reporting.  There is no equivalent for the C apps, so there
will be no "open-ils.auth_unix.log" file.  All C logs and all ILS-related
Perl logs will go to the logs defined in bootstrap.conf/opensrf_core.xml.

The non-Perl applications (which are all currently C apps) will have a
different <language> setting in opensrf.xml: <language>C</language>.  These
are open-ils.cstore, open-ils.reporter-store, and open-ils.auth.

For clarity, I'll remove the <unix_log> settings for the non-Perl apps from
the CVS version of the config.

-bill



-- 
Bill Erickson
PINES Systems Developer
Georgia Public Library Service
billserickson at gmail.com
http://open-ils.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070320/a31a4eda/attachment.html


More information about the Open-ils-dev mailing list