# LOGFILENAME System Variable [GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [L](Help%20System/GSTARCAD/2026/System%20Variables/L/(L).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_2026_en-US/detail/systemVariables_Lgsv/LOGFILENAME.html) · © Gstarsoft Co., Ltd.