Re: radiusd does not logging while debug

2010-05-06 Thread Alan Buxey
Hi,
 Hi, FreeRadius.
 
 How to force radiusd -X to do logging to log file too?

use something like 'script', this will then take all stdout stuff and dump to a 
file eg


script mylogfile.txt
radiusd -X
exit


(the exit command is important to close the output log and dump you back to a 
non scripted
environment)


not a FreeRADiUS issue/thing really - unix 101

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


radiusd does not logging while debug

2010-04-22 Thread kes-kes
Hi, FreeRadius.

How to force radiusd -X to do logging to log file too?


-- 
  mailto:kes-...@yandex.ru

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: radiusd does not logging while debug

2010-04-22 Thread Alan DeKok
kes-...@yandex.ru wrote:
 Hi, FreeRadius.
 
 How to force radiusd -X to do logging to log file too?

$ radiusd -X  /var/log/radius/radius.log 21

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: radiusd does not logging while debug

2010-04-22 Thread Harry Hoffman
Maybe (so you both see and log):
Radiusd -X | tee -a /var/log/radius/radius-debug.log

-Original Message-
From: Alan DeKok al...@deployingradius.com
Sent: Thursday, April 22, 2010 12:45 PM
To: ??? ??? kes-...@yandex.ru; FreeRadius users mailing list 
freeradius-users@lists.freeradius.org
Subject: Re: radiusd does not logging while debug

kes-...@yandex.ru wrote:
 Hi, FreeRadius.
 
 How to force radiusd -X to do logging to log file too?

$ radiusd -X  /var/log/radius/radius.log 21

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: radiusd does not logging while debug

2010-04-22 Thread Johan Meiring

On 2010/04/22 06:45 PM, Alan DeKok wrote:

kes-...@yandex.ru wrote:

Hi, FreeRadius.

How to force radiusd -X to do logging to log file too?


$ radiusd -X  /var/log/radius/radius.log 21



Or for both file and console.

radiusd -X 21 | tee /var/log/radius/radius.log






--


Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: radiusd does not logging while debug

2010-04-22 Thread Harry Hoffman
Well, stderr in a foreground process is normally stdout.

-Original Message-
From: Johan Meiring jmeir...@pcservices.co.za
Sent: Thursday, April 22, 2010 1:09 PM
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Subject: Re: radiusd does not logging while debug

On 2010/04/22 06:45 PM, Alan DeKok wrote:
 kes-...@yandex.ru wrote:
 Hi, FreeRadius.

 How to force radiusd -X to do logging to log file too?

 $ radiusd -X  /var/log/radius/radius.log 21


Or for both file and console.

radiusd -X 21 | tee /var/log/radius/radius.log






-- 


Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html