From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 08:07:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1242116A400 for ; Tue, 12 Jun 2007 08:07:33 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id C1BC913C45B for ; Tue, 12 Jun 2007 08:07:32 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id D1CE81C8A2C; Tue, 12 Jun 2007 11:07:30 +0300 (EEST) From: Nikos Vassiliadis To: "Michael P. Soulier" Date: Tue, 12 Jun 2007 11:07:18 +0300 User-Agent: KMail/1.9.1 References: <200706041537.11883.nvass@teledomenet.gr> <20070611195419.GV20135@tigger.digitaltorque.ca> In-Reply-To: <20070611195419.GV20135@tigger.digitaltorque.ca> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706121107.19492.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: debugging pppoe X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 08:07:33 -0000 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