> For the complete documentation index, see [llms.txt](https://tools.thehacker.recipes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tools.thehacker.recipes/mimikatz/modules/standard/log.md).

# log

`standard::log` or `log` logs mimikatz input/output to a file. It has the following command line arguments:

* positional argument: the filename for the log file (by default it is `mimikatz.log`)
* `/stop`: stop the file logging

```
mimikatz # log
Using 'mimikatz.log' for logfile : OK
```

```
mimikatz # log output.log
Using 'output.log' for logfile : OK
```

```
mimikatz # log /stop
Using '(null)' for logfile : OK
```
