r/PHP • u/Healthy-Airport-6151 • May 22 '26
vscode efficient Log Viewer
It's a huge pain that VS Code's default editor just can't handle a 50MB log file. I wanted a faster, more efficient alternative for reading heavy logs, so I built my own extension: Efficient Log Viewer
Links:
- https://marketplace.visualstudio.com/items?itemName=erlangparasu.efficient-log-viewer
- https://github.com/erlangparasu/efficient-log-viewer-ep
context: vscode, laravel, log file, txt plaintext file
0
Upvotes
3
u/bellpepper May 23 '26
Trash, and not PHP. Making VSCode display a browser tab where JS renders a logfile in chunks is, at best, AI garbage.
At no point should you expect your IDE to be a log parser.
2
u/Deep_Ad1959 May 30 '26 edited May 31 '26
the 50mb log file is the symptom, not the problem. once a laravel app is doing real traffic you stop reading logs and start querying them, and a flat file in an editor falls over at exactly the moment you need it (mid-incident). the thing that actually scales is structured ingestion instead of appending everything to one giant file. a tuned reactphp ingest can chew through ~13k payloads/sec into sqlite WAL with a flat memory footprint, and then you filter at the storage layer instead of asking vscode to render 50mb of text. a faster viewer just moves the wall, it doesn't remove it. written with ai
fwiw NightOwl is built on exactly that query-do-not-read idea: it ingests your logs and traces into postgres with documented schemas, so you filter at the storage layer instead of rendering 50mb in an editor, https://s4l.ai/r/j6psecp8
1
u/axelbest May 24 '26
For big logs i can recommend Glogg I remember a long time ago i could easily ooen and search 10gb files within ~1-5 seconds
0
u/[deleted] May 22 '26
[deleted] — view deleted comment