Re: debugging pppoe



On Monday 11 June 2007 22:54, Michael P. Soulier wrote:
On 04/06/07 Nikos Vassiliadis said:
ppp does not write much on the console. And that is probably a
decision made by the authors, since it is meant to be run mostly
interactively. You can see its logs in /var/log/ppp.log

Indeed. I turned up the logging and I had to turn it down before it
filled /var. :)

If I could get it to log like that to the console, then I could
supervise it with runit, logging via svlogd.

I am not familiar with these programs, but keep in mind that
these methods may not be the best choice. FreeBSD and BSDs
in general are very nicely integrated. The solution might (or
not) be in the base system.

I guess there's no way to
force that log level to stdout?

You guessed wrong:) From ppp(8):

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'' (i.e., only the un-maskable
warning, error and alert output).

Something else of possible interest is that ppp, can serve its console
over a socket making remote debugging possible.

HTH, Nikos
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Disappearing files, created from /etc/X11/Xclients
    ... Please include freebsd-questions on any replies. ... Also there is no console because this is the /etcX11/Xclients script, e.g. it is executed by gdm after logging in to X window system through xdmpc. ... If that fails, then try opening the file in the home directory of the user who you are testing as. ...
    (freebsd-questions)
  • Iptables and logging to the console
    ... How can I stop Iptables logging to the console? ... # Kernel sysctl configuration file for Red Hat Linux ... # Controls source route verification ...
    (Fedora)
  • Re: ptwilliams?
    ... > reset a secure channel password using RDP!! ... > logging into the console and getting a 'command completed successfully' ... > message, when I tried to open AD tools through Terminal Servcies, I get ...
    (microsoft.public.win2000.active_directory)
  • Re: Root Partition Fills Up Completely After a Few Hours
    ... > logged in to any text console, ... > log file, which gets rather full after a few hours. ... normally amount to just a few megabytes. ... There are a couple of ways to stop the logging to the console. ...
    (Debian-User)