Setting Up KiCad to Write to a Master Log - Like Cadence
Linux / macOS
-
Open a terminal.
-
Launch KiCad like this:
-
--verbosemakes KiCad print more detail (Python plugin loads, file paths, warnings, etc). -
2>&1merges stderr into stdout so you don’t miss errors. -
The result is a file
~/kicad_master.log.
-
-
If you want this every time you launch KiCad:
-
Create a wrapper script, e.g.
~/bin/kicad_log.sh: -
Make it executable:
-
Update your desktop launcher / alias to run
kicad_log.shinstead ofkicad.
-
🪟 Windows
-
Create a shortcut to
kicad.exe. -
Right-click → Properties → in the Target field add:
-
Now every launch appends to
kicad_master.login your Documents folder. -
If you want rotation (like
CDS.logoverwriting each run), addechoto clear the file first via a.batwrapper:
📄 What you’ll capture
-
Plugin load successes/failures.
-
Python scripting API errors.
-
DRC/ERC outputs if invoked.
-
ngspice messages (simulations).
-
Crash stack traces if KiCad dies.
-
Environment details (like Python path, KiCad version/build).
This way, you’ll always have a persistent kicad_master.log that acts very much like CDS.log — a single place to check if something went wrong.
Comments
Post a Comment