Access and manage log files

Okta RADIUS Agent log files can be found in the logs directory under your installation directory, whose default location is /opt/okta/ragent

You can combine all the logs in Linux by using a command similar to:

$ tar -zcvf logs.tar.gz /opt/okta/ragent/logs

You can set the logging level by modifying log4j.properties or log4j.xml, depending on your version of Okta Radius Agent.

Change logging level

Versions earlier than 2.15.0

  1. Open log4j.properties, which can be found in your installation folder.
  2. Change the logging level. For example, increase the logging level by changing all three instances of info to debug. Which, when updated, should resemble:
    • log4j.logger.app=debug, app
    • log4j.logger.access=debug, access
    • log4j.rootLogger=debug, app, stdout

Version 2.15.0 and later

  1. Open log4j.xml, which can be found in your installation folder.
  2. Change the logging level. For example, increase the logging level by changing all three instances of info to debug. Which, when updated, should resemble:<?xml version="1.0" encoding="UTF-8"?> <Configuration status="error" name="OktaRadiusLogConfig"> <Appenders> . . . </Appenders> <Loggers> <Logger name="app" level="debug" additivity="false"> <AppenderRef ref="app"/> </Logger> <Logger name="access" level="debug" additivity="false"> <AppenderRef ref="access"/> <AppenderRef ref="app"/> </Logger> <Root level="debug"> <AppenderRef ref="STDOUT"/> <AppenderRef ref="app"/> </Root> </Loggers> </Configuration>