#---------------------------------------------------------------------
# Alamin GSM SMS Gateway - Logging 
#---------------------------------------------------------------------
# (C) 2001 Brian Russo

Logging in alamin is primarily handled by syslog(8), with the exception of
the accounting log, which defaults to /var/log/alamin/accounting.log, and
is configurable via /etc/gsgd.conf.

Alamin uses local[n] facilities for logging, this maybe specified in
/etc/gsgd.conf, and appropriate lines must be added to /etc/syslogd.conf

e.g.
Assuming you were using local4 as the facility.

local4.info               -/var/log/alamin/gsgd_info.log
local4.warn               -/var/log/alamin/gsgd_warn.log
local4.err                -/var/log/alamin/gsgd_err.log
local4.debug              -/var/log/alamin/gsgd_debug.log
local4.*	          -/var/log/alamin/gsgd_all.log

Refer to the syslog.conf manpage for specifics in syntax.

You may have been referred here by the Debian postinst, if this is the
case, it is probable all your local facilities are in use, in order for
alamin to log via syslogd you must make some available for use with
alamin, or share, etc - read: figure it out :)
