[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]: isdnutils 3.0 und isdnlog



Huhu!

On Sat, 16 Jan 1999, Peter Berlau wrote:

> On Fri, Jan 15, 1999 at 06:41:51PM +0100, Jonas Rathert wrote:
> > 
> > [ isdnlog müllt meine Konsole zu ]
> > 
> > Was soll das, ich habe doch in /etc/isdnlog:
>
> die habe ich zum Beispeil nicht,
> nur eine /etc/isdn/isdnlog.isdnctrl0, da steht

Richtig. War ein Typo, ich habe auch eine /etc/isdn/isdnlog.isdnctrl0.
 
> daemon=no	# "yes"/"no" : (dont) start isdnlog as daemon.
> #stdout=0x3f7	# log to stdout or file, and set log level
> outfile=+/var/log/isdn/isdnlog	# logfile to log to ('+' is append mode)

Nun, wenn ich die Manpage von isdnlog richtig verstehe:

       -mX  stdout="value"
              Log to stderr.

       -OX  outfile="path"
              Log to file X instead of stderr. Isdnlog will close
              this device when it gets  a  signal  -SIGHUP  (-1).
              Only valid with -m option.

sollte Deine Konfiguration da oben wirkungslos bleiben (es sollte
also nichts geloggt werden). Ich habs gerade mal ausprobiert,
tatsächlich bleibt die Konsole sauber -- aber schau Dir mal Deine
/var/log/isdn/isdnlog an, vermutlich steht da nur sowas wie:

  isdnlog Version 3.00 loaded
  (ISDN subsystem with ISDN_MAX_CHANNELS > 16 detected - 2 active
  channels, 3 MSN/SI entries)
  (Data versions: iprofd=0x04  net_cfg=0x04  /dev/isdninfo=0x01)
  (HiSax driver detected)
  Got signal 15
  exit now 7

Wenn man, so wie ich, schreibt:

 daemon=no	# "yes"/"no" : (dont) start isdnlog as daemon.
 stdout=0x3f7	# log to stdout or file, and set log level
 outfile=+/var/log/isdn/isdnlog	# logfile to log to ('+' is append mode)

dann sollten nach der manpage nach /var/log/isdnlog alle möglichen
zusätzlichen Infos geloggt werden (die ich gerne haben möchte):

  Fri Jan 15 17:45:00 incoming * Main <- ?  RING (3.1 kHz audio)
  Fri Jan 15 17:45:15 incoming * Main <- ?  RING (3.1 kHz audio)
  Fri Jan 15 17:45:31 incoming * Main <- ?  RING (3.1 kHz audio)
  Fri Jan 15 17:45:56 incoming * Main <- ?  RING (3.1 kHz audio)
  ...
  Fri Jan 15 22:30:21 outgoing * Fritz -> RRZ  RING (Data)
  Fri Jan 15 22:30:22 outgoing Fritz -> RRZ  Time:Fri Jan 15...
  Fri Jan 15 22:30:22 outgoing Fritz -> RRZ  CONNECT
  Fri Jan 15 22:30:22 outgoing Fritz -> RRZ  NEXT CHARGEINT IN ...
  Fri Jan 15 22:30:22 outgoing Fritz -> RRZ  1.EH DM   0.12
  Fri Jan 15 22:31:38 outgoing Fritz -> RRZ  Normal call clearing
  Fri Jan 15 22:31:38 outgoing Fritz -> RRZ  HANGUP (1 EH DM 0.12...

Wunderbar, steht alles in /var/log/isdn/isdnlog. Nur leider eben auch 
alles auf tty1 :-(

Noch 'ne Idee jemand?

  Jonas

-- 
 "OS/2?  Hah.  I've got Linux.  What a cool name"  (Linus Torvalds)

------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     661


Reply to: