.log
Low riskLog file
Runtime text output from apps and servers. The first place incident responders and admins look when something goes wrong.
MIME types
- text/plain
- text/x-log
Category
text
What opens this file
- tail
- less
- lnav
- VS Code
- Glogg
How to open by OS
Windows
- Notepad stalls past a few hundred MB. Glogg or VS Code handle big logs better.
Mac
- Terminal `tail -f`, lnav.
Linux
- `less +F`, `journalctl`, lnav.
Ios
- Koder.
Android
- Termux for `tail`.
Safety notes
- Secrets and PII frequently get logged by accident. Review what gets logged before sharing output with vendors or tickets.
- Missing log rotation burns through disk and eventually takes services down.
Common mistakes
- Relying on
tail -fplus ad-hoc grep for analysis is fine, butsed-based pipelines can accidentally rewrite data if reused on the source. - Mixing local time zones makes post-mortem timelines useless — log in UTC.