# LOGFILEON 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 LOGFILEON command is used to write the history of command to files. Command Access: > **Command:** LOGFILEON Function Description: The content of text window is recorded in log files until users exit program or use the LOGFILEOFF command. 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/LOGFILEON%20Command--a716db307121.md) · [GstarCAD 2017](../../../2017/Commands/L/LOGFILEON%20Command--a716db307121.md) · [GstarCAD 2019](../../../2019/Commands/L/LOGFILEON%20Command--a716db307121.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/L/LOGFILEON%20Command--a716db307121.md) · [GstarCAD 2021](../../../2021/Commands/L/LOGFILEON%20Command--a716db307121.md)