# LOGFILENAME System Variable [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) **Function Description:** The LOGFILENAME system variable is used to control the path and name of command history log file in the current drawing. (Read-Only) | | | | --- | --- | | Type | Strings | | Saved in | Drawing | | Initial value | Unknown | --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables/LOGFILENAME.html) · © Gstarsoft Co., Ltd.