Hi All,
Real quick and I am sure easy question here. I read through the unlang
man page, really helped in getting a clue. One thing I was wondering though,
is there a way to output text to the log based on a condition? What I mean is
something like if x!=y then printf( x did not equal
--On Tuesday, February 01, 2011 08:41:54 -0800 Brett Littrell
blittr...@musd.org wrote:
Hi All,
Real quick and I am sure easy question here. I read through the
unlang man page, really helped in getting a clue. One thing I was
wondering though, is there a way to output text to the
Hi James,
That looks perfect for the tech logs, thanks. The debugging side was a
little different, I was thinking about inputting text strings in the middle of
unlang scripts. Usually when I write say a C program I will pop in a lot of
printf's with variables so I know what a variable
Hi,
as James says...unlang with linelog module.. if you want to do more,
then thats easy too - just use PERL module and use unlang with a call
to a logging PERL module - the world is your oyster at that stage regarding
what you can do - with your printf's etc :-)
alan
-
List
Thanks Alan,
Did not think about calling the perl module, that should work very well...
thanks
Brett Littrell
Network Manager
MUSD
CISSP, CCSP, CCVP, MCNE
On Tuesday, February 01, 2011 at 10:15 AM, in message
20110201181525.ga9...@lboro.ac.uk, Alan Buxey a.l.m.bu...@lboro.ac.uk
The debugging side was a little different, I was thinking about inputting
text strings in the middle of unlang scripts
If you run radiusd -X you will see the output of expansions, so you can do
if (DEBUG: I am looking at %{foo} and %{bar}) {
}
and you'll see the text in the log.
Brett Littrell wrote:
For freeradius I was not sure if there was similar
functionality. I am guessing there is not, I was kind of thinking it
may be a stretch to add something like that in a config file.
See radmin, and raddebug. They can print full debugging logs for
a particular user,
7 matches
Mail list logo