<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:新細明體
}
--></style>
<div dir="ltr"><font face="新細明體, sans-serif" size="3">Thanks Alan and Stefan at first.</font><div style="font-family: 新細明體, sans-serif; font-size: 12pt; "><br></div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; ">I've studied linelog before and tried to figure it out how to output complete auth/acct content in the format I want by it. </div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; ">However I'm not sure if linelog can records multiple lines of records at one time. Because I need to output this log file just almost the same with detail.log</div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; ">It seems it can only read one "reference" in single linelog module, right?</div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; "><br></div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; ">Or I can reach my goal by implement several instances of linelog responding multiple attributes in auth/acct requests?</div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; "><br></div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; ">--Below is the example--<span style="font-size: 12pt; ">  </span></div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; "><div><br></div><div>reference = "%{%{Packet-Type}:-format}"</div><div><br></div><div>Access-Request =="<span style="font-size: 12pt; ">Packet-Type: </span><span style="font-size: 12pt; ">AR"</span></div><div>Access-Reject =="<span style="font-size: 12pt; ">Packet-Type: </span><span style="font-size: 12pt; ">AJ"</span></div><div>Access-Accept =="<span style="font-size: 12pt; ">Packet-Type: </span><span style="font-size: 12pt; ">AA"</span></div><div>Access-Challenge =="<span style="font-size: 12pt; ">Packet-Type: </span><span style="font-size: 12pt; ">AC"</span></div><div>---</div><div><br></div><div>It can output the first column "<span style="font-size: 12pt; ">Packet-Type</span><span style="font-size: 12pt; ">" of my customized authlog correctly, but what if I need to output other columns in the same file?</span></div></div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; "><br></div><div><font face="新細明體, sans-serif" size="3">Another question, how to use "tab" as delimiter to </font><font face="新細明體, sans-serif">separate values in linelog file?</font></div><div><font face="新細明體, sans-serif"><br></font></div><div style="font-family: 新細明體, sans-serif; font-size: 12pt; "><div>I am new in FreeRadius, big thanks for all kindly reply of you guys!</div><div><br></div><div>Best Regards,</div><div><br></div><div>Okis</div><div><br></div><div><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: A.L.M.Buxey@lboro.ac.uk<br>To: okischuang@outlook.com; freeradius-users@lists.freeradius.org<br>Subject: Re: customized format of log file<br>Date: Fri, 12 Oct 2012 06:32:24 +0000<br><br>




Look at the linelog module and be thankful for having the ability to do such things with Freeradius...what would you do if you only had eg NPS?<br>
<br>
alan<br>
<br>
--<br>
This smartphone uses free WiFi around the world with eduroam, now that's what I call smart.<br>
<br></div></div></div></div>
                                          </div></body>
</html>