Metadata in Log Files

As of FileCloud 20.1, custom metadata is included in audit logs of share and download operations.

Metadata is stored in the field metadata and appears in the format:

{
    "metadataName": {
        "attributeName": "value",
        "attributeName2": "value",
    }
}

To include non-custom metadata in logs, in 

  1. Open the configuration file:
    Windows: XAMPP DIRECTORY/htdocs/config/cloudconfig.php
    Linux: /var/www/config/cloudconfig.php
  2. Add the line:

    define('TONIDOCLOUD_LOG_CUSTOM_METADATA_VALUES_ONLY', false);

Metadata is logged for the following actions:

  • downloadfilemulti - Download multiple files.
  • downloadfile - Download a single file.
  • getaudio - Play an audio file.
  • getvideo - Play a video file.
  • getfsslideimage - View an image file.
  • docconvert - Open or view a file.
  • quickshare - Quick share.
  • addusertoshare - Add specific users to a share.
  • addgrouptoshare - Add specific groups to a share.
  • setallowpublicaccess - Make a share public (after sharing only with certain users/groups).