Logging client file system activity on HSTS
HSTS can be configured to log operations on the server's file system that are performed from client applications (such as the HSTS in client mode, or Console).
The logging of specific file system operations is controlled with an <ascmd> element in aspera.conf, within which logging can be set to yes or no for each operation.
<ascmd>
<log_cmd>
<as_info>no</as_info>
<as_ls>no</as_ls>
<as_rm>no</as_rm>
<as_du>no</as_du>
<as_df>no</as_df>
<as_mkdir>no</as_mkdir>
<as_cp>no</as_cp>
<as_mv>no</as_mv>
<as_md5sum>no</as_md5sum>
</log_cmd>
</ascmd>
As an example of asconfigurator usage, the following command specifies that any deletions from the server file system by user xeno are logged:
asconfigurator -x "set_user_data;user_name,xeno;ascmd_log_cmd_as_rm,yes"
The command generates this <ascmd> element in aspera.conf:
<ascmd>
<log_cmd>
<as_rm>yes</as_rm>
</log_cmd>
</ascmd>