Log messages are mostly for the people operating your software
Hacker News
The author explains that due to a surge in LLM training crawlers using outdated browser identities, strict anti-crawler measures have been implemented that may inadvertently block legitimate users with old browsers.
然而,另一派觀點則質疑一般用戶是否真的會閱讀日誌。反對者指出,大多數終端用戶連基本的錯誤提示框都不會仔細閱讀,更遑論深藏在系統中的日誌文件。對於這類受眾,日誌的價值在於提供一個可供搜尋的「錯誤代碼」或關鍵字,讓用戶能透過搜尋引擎找到社群解決方案,或是讓技術支援人員有據可依。此外,隨著人工智慧的興起,有留言者提出了一個新穎的觀點:未來的日誌受眾可能是 AI Agent。當 AI 負責診斷系統時,日誌不再需要為了人類的閱讀習慣而刻意精簡,反而應該提供更詳盡、結構化的原始數據,讓 AI 能更精準地定位問題根源。