Date: Wed, 04 Aug 1999 23:10:17 +0300 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA=20=F7=2E=20=EF=CC=C5=CA=CE=C9=CB?= (Andy V. Oleynik) <andyo@prime.net.ua> To: questions@FreeBSD.ORG Subject: Re: user ppp Message-ID: <37A89E29.3DFC7E74@prime.net.ua> References: <Pine.BSF.4.05.9908050024420.3518-100000@localhost.cgu.chel.su> <37A88F83.EF25F7CC@ispro.net.tr>
next in thread | previous in thread | raw e-mail | index | archive | help
I think w/o commenting them out in the ppp.conf (or IMHO it's better just to write "set log" in the profile) they will appear on the screen. Evren Yurtesen wrote: > I think you can easily disable it from /etc/syslog.conf > by deleting these lines > !ppp > *.* /var/log/ppp.log > > quoted from; > man ppp > > ------------------------------------------------------------------------------ > o Create a log file. ppp uses syslog(3) to log information. A > common > log file name is /var/log/ppp.log. To make output go to this > file, > put the following lines in the /etc/syslog.conf file: > > !ppp > *.*<TAB>/var/log/ppp.log > > It is possible to have more than one PPP log file by creating a > link > to the ppp executable: > > # cd /usr/sbin > # ln ppp ppp0 > > and using > > !ppp0 > *.*<TAB>/var/log/ppp0.log > > in /etc/syslog.conf. Don't forget to send a HUP signal to > syslogd(8) > after altering /etc/syslog.conf. > ------------------------------------------------------------------------------ > LOGGING FACILITY > ppp is able to generate the following log info either via syslog(3) > or > directly to the screen: > > Async Dump async level packet in hex. > CBCP Generate CBCP (CallBack Control Protocol) logs. > CCP Generate a CCP packet trace. > Chat Generate `dial', `login' and `hangup' chat script > trace > logs. > Command Log commands executed either from the command line or > any > of the configuration files. > Connect Log Chat lines containing the string "CONNECT". > Debug Log debug information. > HDLC Dump HDLC packet in hex. > ID0 Log all function calls specifically made as user id > 0. > IPCP Generate an IPCP packet trace. > LCP Generate an LCP packet trace. > LQM Generate LQR reports. > Phase Phase transition log output. > TCP/IP Dump all TCP/IP packets. > Timer Log timer manipulation. > TUN Include the tun device on each log line. > Warning Output to the terminal device. If there is currently > no > terminal, output is sent to the log file using > syslogs > LOG_WARNING. > Error Output to both the terminal device and the log file > using > syslogs LOG_ERROR. > Alert Output to the log file using LOG_ALERT. > > The ``set log'' command allows you to set the logging output > level. Mul- > tiple levels can be specified on a single command line. The > default is > equivalent to ``set log Phase''. > > It is also possible to log directly to the screen. The syntax is > the > same except that the word ``local'' should immediately follow ``set > log''. The default is ``set log local'' (ie. only the un-maskable > warn- > ing, error and alert output). > > If The first argument to ``set log [local]'' begins with a `+' or a > `-' > character, the current log levels are not cleared, for example: > > PPP ON awfulhak> set log phase > PPP ON awfulhak> show log > Log: Phase Warning Error Alert > Local: Warning Error Alert > PPP ON awfulhak> set log +tcp/ip -warning > PPP ON awfulhak> set log local +command > PPP ON awfulhak> show log > Log: Phase TCP/IP Warning Error Alert > Local: Command Warning Error Alert > > Log messages of level Warning, Error and Alert are not controllable > using > ``set log [local]''. > > The Warning level is special in that it will not be logged if it > can be > displayed locally. > > Ilia Chipitsine wrote: > > > > What do I put in ppp.conf to disable "log"s ? > > > > Regards, (Наилучшие пожелания) > > > > Ilia Chipitsine (Илья Шипицин) > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Andy V. Oleynik (When U aim for perfection, U discover it's a moving target Ж80) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A89E29.3DFC7E74>