Skip to content

Instantly share code, notes, and snippets.

@smeech
Created January 31, 2025 17:05
Show Gist options
  • Save smeech/69008439198a2a387e7fb4e04b0f4127 to your computer and use it in GitHub Desktop.
Save smeech/69008439198a2a387e7fb4e04b0f4127 to your computer and use it in GitHub Desktop.
[Monitor Espanso log] Continuously without repeated typing of `espanso log`. #espanso #bash #powershell
# Routines to follow the Espanso log for problems, without having to
# type `espanso log` every time something goes wrong.
# Filters out routine messages.
# Linux
tail -F ~/.cache/espanso/espanso.log | grep -v "INFO"
# Windows
Get-Content "$env:LOCALAPPDATA\espanso\espanso.log" -Wait | Where-Object { $_ -notmatch "INFO" }
@smeech
Copy link
Author

smeech commented Jan 31, 2025

I find this useful to run (from an Espanso trigger of course) in a terminal window, during development of Espanso triggers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment