wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Where to locate the log file when wezterm starts?

Open ktrNozomi opened this issue 4 years ago • 2 comments

I use archlinux + openbox. When I configured shortcuts to open the wezterm, I notice that it will stuck a while for the first start, but works well afterwards. So I want to locate the problem, where can I find the logs? I tried xterm instead, it will not stuck. Thanks for your reply!

ktrNozomi avatar Nov 06 '22 04:11 ktrNozomi

You can see logs in a couple of different ways:

  • activate the Debug Overlay by pressing CTRL-SHIFT-L to see recent errors
  • You can find log files in $XDG_RUNTIME_DIR/wezterm on unix systems, or $HOME/.local/share/wezterm on macOS and Windows systems.

You may wish to start wezterm with WEZTERM_LOG=trace wezterm set in the environment to turn up very verbose logging. Logs will show on stderr.

wez avatar Nov 14 '22 01:11 wez

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Feb 03 '23 18:02 github-actions[bot]