The level of detail in the logs is set by the trace parameter in the /etc/dpi/fastpcrf.conf configuration file.
trace parameter is ignored if the verbose parameter is set to 1 — this value enables trace output for all subsystems.verbose parameter must be set to 0.
The trace parameter is a bitmask, where each bit enables detailed logging for a specific subsystem:
0x00000001 — connection monitor — RADIUS connection monitor. Monitors connection activity and decides to switch to a backup RADIUS server if necessary.0x00000002 — task scheduler — internal task scheduler.0x00000010 — auth server — responsible for receiving authorization requests from fastDPI (fastDPI → fastPCRF communication).0x00000200 — radius_client connections — detailed logging of Access-Request queries and Access-Accept/Reject responses.0x00000400 — radius_client monitor — logging of Server-Status requests checking RADIUS server liveliness and responses to them.0x00001000 — CoA server — CoA event logging.0x00002000 — CoA listener - creation of connections with CoA clients.0x00004000 — CoA processor - detailed logging of CoA requests.0x00010000 — fdpi_ctl - logging of events for sending data to fastDPI (fastPCRF → fastDPI communication).0x00020000 — fdpi_crl FIFO - events of the message queue from fastPCRF to fastDPI. CoA requests that need to be sent to all fastDPI servers enter this queue.0x00100000 — logging of start/stop accounting sending.0x00200000 — logging of interim update accounting sending.0x00400000 — logging of receiving raw accounting data from fastDPI.trace parameter is hot: its value can be changed on the fly using the service fastpcrf reload command
FastPCRF logs its actions to the /var/log/dpi directory.
Log purposes:
Log of fastPCRF startup/shutdown. If any errors occurred during startup/stop, you will see them in this log.
Log of receiving authorization requests from fastDPI (fastDPI → fastPCRF communication):
CoA log:
Framed-Pool and Framed-IPv6-Pool attributes.Interaction with RADIUS authorization servers:
Accounting log:
Log of fastPCRF → fastDPI communication:
Internal fastPCRF statistics:
FastPCRF periodically dumps its internal statistics into this log.