# log-clear-file-on macro

The log-clear-file-on macro turns on the logging of the
 clear-file command.

Note:
 **For Windows:** The log-clear-file-on macro sets clear-file
 logging on in either the VME or the FSI, not both, depending upon the type of account in
 which it was executed. To turn on clear-file logging for the FSI at system startup, add
 the following to the end of DM,, USER-COLDSTART or any ACCOUNT-COLDSTART macro.

```
TO FSIDM
NT_LOG-CLEAR-FILE (N
```

## Syntax

```
log-clear-file-on
```

---
Source: https://d3codex.com/tcl/log-clear-file-on-macro/ - part of the D3Codex reference.
