Breadcrumbs

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:

Set a logging level

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 adminicon.png .
    The Admin settings page opens.

  2. Scroll down and locate Audit log level. Set it to Off, Request, or Full.
    AuditLogLevel.png

  3. Click Save.

Specify operations that don't get logged

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 add

    Notes

    Example

    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");

    https://fileclouddocs.atlassian.net/wiki/s/1623602073/6452/05f502871a457750e4d6a5e1f585bce5603b62b2/_/images/icons/emoticons/warning.png 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 



https://fileclouddocs.atlassian.net/wiki/s/1623602073/6452/05f502871a457750e4d6a5e1f585bce5603b62b2/_/images/icons/emoticons/warning.png 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.