# LOGFILEOFF Command
[GstarCAD 2018](Help%20System/GSTARCAD/2018/Index.md) → [Commands](Help%20System/GSTARCAD/2018/Commands/(Commands).md) → [L](Help%20System/GSTARCAD/2018/Commands/L/(L).md)
The LOGFILEOFF command is used to close the command history of log files that opened by the LOGFILEON command.
## Command Access:
> **Command:** LOGFILEOFF
## Function Description:
It will stop recording the text window and close log files.
Each drawing saves a log file with extension of ".log". Users need to delete them on a regular interval as file number growing.
## Other versions with matching text
[GstarCAD 2016](../../../2016/Commands/L/LOGFILEOFF%20Command.md) · [GstarCAD 2017](../../../2017/Commands/L/LOGFILEOFF%20Command.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/L/LOGFILEOFF%20Command.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/L/LOGFILEOFF%20Command.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/L/LOGFILEOFF%20Command.md)