Skip to content
Tagged articles

tail command

3 articles · Page 1 of 1

Why 'grep error' Fails: Link Browser Requests to Server Logs for Real Troubleshooting

This guide teaches practical log troubleshooting by correlating browser network requests (via F12) with server logs using tail -f for real-time tracking and grep with timestamps for post-hoc analysis, explaining how to identify the correct service from URL paths and distinguish service failures from business logic errors.

F12 developer toolsOperationsgrep command
0 likes · 12 min read
Why 'grep error' Fails: Link Browser Requests to Server Logs for Real Troubleshooting
Liangxu Linux
Liangxu Linux
May 13, 2021 · Operations

Build a Real‑Time Log Collector with Java and tail – Why -F Beats -f

This article shows how to use the Unix tail command together with a simple Java program to collect live logs, explains the crucial difference between tail -f and tail -F during file rotation, and provides practical steps and commands for reliable log monitoring.

JavaLog CollectionReal-time logging
0 likes · 8 min read
Build a Real‑Time Log Collector with Java and tail – Why -F Beats -f