diff options
author | Anthony Wang | 2024-12-12 21:52:52 -0500 |
---|---|---|
committer | Anthony Wang | 2024-12-12 21:52:52 -0500 |
commit | db6507ea7deb6043c2d4fef50e1102e8609ba08e (patch) | |
tree | 1dcf9887decf579e7b827f9c8d5ba890e4ac28f0 | |
parent | ed3ab4624ec9b611fe1f634f8c17363217a311e6 (diff) |
Filter Caddy journal output to fix GoAccess errors
-rw-r--r-- | content/posts/site-analytics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/posts/site-analytics.md b/content/posts/site-analytics.md index 37a6e32..7a28416 100644 --- a/content/posts/site-analytics.md +++ b/content/posts/site-analytics.md @@ -73,4 +73,4 @@ That produced the following output: All those US visitors are probably just me. But I didn't know my site was so big in Hong Kong? Maybe because of VPNs? -2024-12-11 update: I switched to Caddy so I'm now using the command `journalctl -eu caddy --output cat --lines all | goaccess --log-format caddy`. +2024-12-11 update: I switched to Caddy so I'm now using the command `journalctl -u caddy --output cat --lines all -g http.log.access | goaccess --log-format caddy`. |