Subject: The mailing list for listmasters using Sympa
List archive
- From: John Douglass <address@concealed>
- To: Sympa Users <address@concealed>
- Subject: Logging problems
- Date: Tue, 11 Mar 2003 12:27:48 -0500
Hey,
I did follow the FAQ at http://www.sympa.org/fom-serve/cache/83.html and I'm still not getting logs.
Here's my background info:
SYMPA 3.4.3.1
PERL 5.6.1
Solaris 9
My /etc/syslog.conf has:
local1.debug /var/log/sympa/log
(no spaces in front or behind)
My sympa.conf has:
## Do not forget to edit syslog.conf
syslog LOCAL1
## Communication mode with syslogd is either unix (via Unix sockets) or inet (use of UDP)
log_socket_type unix
log_level 0
I can use the "logger" command "logger -p local0.debug bleh" and I do get messages in /var/log/sympa/log
syslogd -d output is:
main(1): Started at time Tue Mar 11 12:22:21 2003
hnc_init(1): hostname cache configured 128 entry ttl:600
getnets(1): network is being turned off
amiloghost(1): testing 127.0.0.1.2.2
conf_init(1): I am loghost
cfline(1): (*.emerg;user.none *)
cfline(1): (*.alert;user.none root)
cfline(1): (local1.debug /var/log/sympa/log)
cfline(1): (*.err;kern.notice;auth.warning;mail,user.none /dev/sysmsg)
cfline(1): (mail.debug /var/log/syslog)
cfline(1): (*.debug;mail,local7.none /var/adm/messages)
cfline(1): (local7.debug /var/adm/ipfilter.log)
syslogd: version 1.98
Started: Tue Mar 11 12:22:21 2003
Input message count: system 0, network 0
# Outputs: 7
------------------------ priority = [file, facility] ------------------------
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
--------------------------------------------------
0 X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL:
1 X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 X USERS: root
X X X X X X X X X X X X X X X X X 7 X X X X X X X FILE: /var/log/sympa/log
5 X X 3 4 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X CONSOLE: /dev/sysmsg
X X 7 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/syslog
7 7 X 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 X X FILE: /var/adm/messages
X X X X X X X X X X X X X X X X X X X X X X X 7 X FILE: /var/adm/ipfilter.log
Facilities:
[00] kern: 0
[01] user: 8
[02] mail: 16
[03] daemon: 24
[04] auth: 32
[05] security: 32
[06] mark: 192
[07] syslog: 40
[08] lpr: 48
[09] news: 56
[10] uucp: 64
[11] cron: 120
[12] local0: 128
[13] local1: 136
[14] local2: 144
[15] local3: 152
[16] local4: 160
[17] local5: 168
[18] local6: 176
[19] local7: 184
Priorities:
[00] panic: 0
[01] emerg: 0
[02] alert: 1
[03] crit: 2
[04] err: 3
[05] error: 3
[06] warn: 4
[07] warning: 4
[08] notice: 5
[09] info: 6
[10] debug: 7
[11] none: 16
Per File Statistics
File Tot Dups Nofwd Errs
---- --- ---- ----- ----
WALL 0 0 0 0
root 0 0 0 0
/var/log/sympa/log 0 0 0 0
/dev/sysmsg 0 0 0 0
/var/log/syslog 0 0 0 0
/var/adm/messages 0 0 0 0
/var/adm/ipfilter.log 0 0 0 0
logmsg(9): msg dispatcher started
sys_poll(10): sys_thread started
init(1): accepting messages from local system
init(1): syslogd: started
Is there a script that uses the Sympa Log.pm to test the log or perhaps some $HOME/bin command to run that should result in a message being printed to the logfile?
I have the same setup on a Solaris 8 box, but for some reason Solaris 9 doesn't want to play. Anyone have similar experiences?
Thanks in advance,
- John Douglass
- Logging problems, John Douglass, 03/11/2003
Archive powered by MHonArc 2.6.19+.