Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Aug 1999 22:07:47 +0300
From:      Evren Yurtesen <yurtesen@ispro.net.tr>
To:        Ilia Chipitsine <ilia@cgilh.chel.su>
Cc:        questions@FreeBSD.ORG
Subject:   Re: user ppp
Message-ID:  <37A88F83.EF25F7CC@ispro.net.tr>
References:  <Pine.BSF.4.05.9908050024420.3518-100000@localhost.cgu.chel.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A88F83.EF25F7CC>