# LOGFILEOFF Command
[GstarCAD 2020](Help%20System/GSTARCAD/2020/Index.md) → [Commands](Help%20System/GSTARCAD/2020/Commands/(Commands).md) → [L](Help%20System/GSTARCAD/2020/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--b5f4c7860451.md) · [GstarCAD 2017](../../../2017/Commands/L/LOGFILEOFF%20Command--b5f4c7860451.md) · [GstarCAD 2018](../../../2018/Commands/L/LOGFILEOFF%20Command--b5f4c7860451.md) · [GstarCAD 2019](../../../2019/Commands/L/LOGFILEOFF%20Command--b5f4c7860451.md) · [GstarCAD 2021](../../../2021/Commands/L/LOGFILEOFF%20Command--b5f4c7860451.md)