--- title: "Configure the custom log destination on standalone endpoints" slug: "configure-the-custom-log-destination-on-standalone-endpoints" tags: ["Product Usage", "ENS 10.7.x", "ENS 26.x"] updated: 2026-09-13T18:52:14Z published: 2026-09-13T18:52:14Z canonical: "docs.trellix.com/configure-the-custom-log-destination-on-standalone-endpoints" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure the custom log destination on standalone endpoints You can configure a custom log destination using the command-line interface. This configuration applies automatically to Threat Prevention, Firewall, and platform services. > [!WARNING] > Important > > Self-protection does not support a custom log path outside the Trellix ENS Linux installation directory. For more information on self-protection, see Enabling self protection support **Directory requirements** - You must not run an On-Demand Scan or DAT update during this task. - You must specify an absolute path. - The directory must already exist and must be empty. - Ensure that the destination has a minimum of 10 MB of free disk space. - The root user must have read, write, and execute permissions for the directory. - You must provide only the base directory. Do not include component suffixes. **File system restrictions** The destination must reside on a local file system. The product does not support network-based file systems such as nfs, nfs4, cifs, smbfs, fuse.sshfs, and fuse.gvfsd-fuse. **Path restrictions** The destination must not be a restricted system directory. Restricted path prefixes include /tmp/, /var/tmp/, /proc/, /sys/, /dev/, and /run/. Other restricted prefixes are /mnt/, /media/, /etc/, and /boot/. The product also restricts /lib/, /lib64/, /sbin/, /bin/, /usr/bin/, and /usr/lib/. 1. Log on to the system as a user with administrator rights. 2. Change directory to the `bin` directory of the product. - Threat Prevention: `cd /opt/McAfee/ens/tp/bin` - Firewall: `cd /opt/McAfee/ens/fw/bin` 3. Run the command to configure the new log destination. Replace with your custom base directory. > [!NOTE] > Note > > Verify that your custom log path meets all validation rules listed in prerequisites before you run this command. - Threat Prevention: `./mfetpcli --setcustomlogpath <custom_path>` - Firewall: `./mfefwcli --setcustomlogpath <custom_path>` Wait for the services to restart automatically. 4. Run the command to verify the new log destination appears againt `TP/FW Product Log Path`. - Threat Prevention: `./mfetpcli --showlogsettings` - Firewall: `./mfefwcli --showlogsettings`