# XREFCTL System Variable
[GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [X](%28X%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Registry |
| Initial value | 0 |
| Range | 0、1 |
Controls whether external reference log (XLG) files are created.
0 Does not write log files
1 Writes log files
---
## Other versions with matching text
[GstarCAD 2011](../../../2011/System%20Variables/X/XREFCTL%20System%20Variable.md)