Skip to main content

Tutorial: Turn Off Audit and Service Logging

Abstract

This tutorial shows how to turn off Access Server's audit and service logging.

Overview

Access Server allows turning off audit and service logging. You can turn them off separately or together. When you turn off logging, it doesn't delete previous log files or the records in log.db, but no longer records new activity.

To completely turn off logging, you must apply both options below.

Important

If you choose to turn off logging, you will not have logs to refer to or send to support if you encounter issues.

  • An installed Access Server.

  • Root access to the console.

  1. Sign on to the console and get root privileges.

  2. Open the as.conf file for editing:

    nano /usr/local/openvpn_as/etc/as.conf
  3. Comment out the log DB line:

    # log_db=...
  4. Save and exit by pressing Ctrl + x, then y.

  5. Restart the Access Server service:

    systemctl restart openvpnas
  1. Sign on to the console and get root privileges.

  2. Open the as.conf file for editing:

    nano /usr/local/openvpn_as/etc/as.conf
  3. Add the following line:

    log.disable_logging=true
  4. Save and exit by pressing Ctrl+x, then y.

  5. Restart the Acess Server service:

    systemctl restart openvpnas