set up the linelog mod to create a CSV log

Nash.Paz nash.paz at gmail.com
Tue Jul 21 12:54:53 CEST 2015


Hi,
Running 3.0.4 on Centos 7.1, I've been trying to set up the linelog mod to
create a CSV log.
Based on what I read here:

http://marc.info/?l=freeradius-users&m=133167783813402
http://lists.freeradius.org/pipermail/freeradius-users/2012-March/059283.html

I added a header, and a stop/start accounting for Acct-Status-Type to the
linelog file (attached).

Restarted radiusd, but no linelog files are created.
Radius is working, the detail file gets updated. The module seems to load
when running radiusd -X :

  # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
  linelog {
        filename = "/var/log/radius/linelog"
        permissions = 384
        format = "This is a log message for %{User-Name}"
        reference = "messages.%{%{Packet-Type}:-default}"
  }
  # Instantiating module "log_accounting" from file
/etc/raddb/mods-enabled/linelog
  linelog log_accounting {
        filename = "/var/log/radius/linelog-accounting"
        permissions = 384
        format = ""
        reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
  }

What am I doing wrong?

-- 
-נחשון פז-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linelog
Type: application/octet-stream
Size: 4603 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150721/36e32d8f/attachment.obj>


More information about the Freeradius-Users mailing list