Configure What is Logged

There might be some operations that that you do not want logged because they fill your audit log with unnecessary information.


To configure what is logged:

You can choose to set logging to one of the following levels:

  • Off - Records nothing in the audit log files
  • Request -  Limits the logging to requests from agents or clients and the results of a request. Does not record the full response to the agent or client.
  • Full - Records entries for all requests from agents or clients, the full response, and the and the results of the request.

To set a log level:

  1. In the FileCloud admin portal's left navigation bar, scroll down and click Settings. Then, on the Settings navigation page, click Admin .
    The Admin settings page opens.
  2. Scroll down and locate Audit log level. Set it to Off, Request, or Full.

  3. Click Save.

To configure what information is logged:

  1. On the FileCloud Server, navigate to the following folder:

    WWWROOT\config
  2. Open the following file for editing:

    cloudconfig.php
  3. Add the following lines:

    Configuration Lines to addNotesExample
    define("TONIDOCLOUD_AUDIT_IGNORE_OPS", "");

    When specified, does not add audit logs for specific FileCloud requests. You can specify multiple requests by using a '|' symbol as a delimiter.

    For example, if you add "deletefile|loginguest", both these operations would not be added to the audit log.

    define("TONIDOCLOUD_AUDIT_IGNORE_OPS", "deletefile|loginguest|createfolder");
    define("TONIDOCLOUD_AUDIT_IGNORE_AGENT", "");

    When specified, does not add audit logs for any requests coming in from specified FileCloud clients. You can specify multiple clients by using a '|' symbol as a delimiter.

    define("TONIDOCLOUD_AUDIT_IGNORE_AGENT", "Cloud Sync|Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0|FileCloudDrive");

    (warning) If both defines are specified, then only requests that match both conditions are excluded from the Audit Log.

For example:

define("TONIDOCLOUD_AUDIT_IGNORE_OPS", "deletefile|loginguest|createfolder");
define("TONIDOCLOUD_AUDIT_IGNORE_AGENT", "Cloud Sync");

The above configuration will skip adding audit logs when the Cloud Sync client requests to:

  • Delete File
  • Login Guest
  • Create Folder 


(warning) Remember that the information in audit logs can be extremely important for troubleshooting. Be careful not to exclude too much information from your log files.