Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to resolve unexpected line breaks in SBR Accounting logs

0

0

Article ID: KB34121 KB Last Updated: 18 Apr 2019Version: 1.0
Summary:

Unexpected line breaks are observed in individual records of SBR accounting logs .

Cause:

SBR Carrier might truncate a line in the accounting log when a non-printable character is encountered.

Solution:

You can set the ReplaceUnprintables parameter in the [Logging] section of radius.ini with a printable character which is used instead of non-printable characters when SBR Carrier writes messages to the accounting log file.

NOTE: Characters of ASCII decimal code 0 through 31 (ASCII hex code 0 through 1F) and 127 through 255 (ASCII hex code 7F through FF) are considered as non-printable characters. 

For example, to substitute each unprintable character  with a "#" sign,  you would change the following:

In radius.ini, uncomment and change the following setting then restart radius:

;ReplaceUnprintables=no

to be 

ReplaceUnprintables=#

This will change 'dhcp-client-id=2????&' to appear as 'dhcp-client-id=2####&' and no longer truncate/line break the record.

For more information about the ReplaceUnprintables parameter, see the SBR Carrier Reference Guide

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search