System Variable Entry: LOGFILEMODE

← Prev | ↑ Chapter | Next → | Index | Symbols

System Variable Entry: LOGFILEMODE

Name

LOGFILEMODE

Type

integer

Default

0

Read-Only

no

Scope

registry; saved in registry

Description

Specifies whether the contents of the command history are written to a log file.

Compatibility

AutoCAD and BricsCAD. AutoCAD all; BricsCAD V20+.

Measured

AutoCAD 2022, BricsCAD V25 (Windows) and V26 (macOS), probe-logfile (MR !428): setting it to 1 opens the current drawing's log (AutoCAD and BricsCAD/Windows create the file at once; BricsCAD/macOS in batch mode writes none); 0 closes it; turning it on again appends to the same file under a new header.

The log's encoding: windows-1252 on AutoCAD 2022 (probe-logfile, MR !428: a PRINCed e-acute reads back as 233) and on BricsCAD V25 Windows, without a byte-order mark (encoding experiment, 2026-10-08, job 16998925784: the raw log begins 0D 0A 2D, and the French prompt "Depart" with e-acute is the bytes 44 E9 70 61 72 74). BricsCAD V25 logs only its command channel (prompts and answers), not a PRINC.

clautolisp

One log per drawing; a registry preference, per product, read at launch. Written in windows-1252 without a byte-order mark under the AutoCAD and the Windows BricsCAD dialects, as measured; in UTF-8 under the macOS / Linux BricsCAD dialects and every other dialect; -Elog overrides it. See the clautolisp user manual, "The command-history log file".