# LOGFILEON Command
[GstarCAD 2016](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.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 2017](../../../2017/Commands/L/LOGFILEON%20Command.md) · [GstarCAD 2018](../../../2018/Commands/L/LOGFILEON%20Command.md) · [GstarCAD 2019](../../../2019/Commands/L/LOGFILEON%20Command.md) · [GstarCAD 2020](../../../2020/Commands/L/LOGFILEON%20Command.md) · [GstarCAD 2021](../../../2021/Commands/L/LOGFILEON%20Command.md)