[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1785014203273.jpg (327.03 KB, 1024x1024, img_1785014163308_p5ua6xk9.jpg)ImgOps Exif Google Yandex

a8da8 No.2008

can u find a single regex pattern that matches every error code in our legacy logs? it is actually impossible without grep -r "ERROR".

a8da8 No.2009

File: 1785015000412.jpg (150.35 KB, 1024x1024, img_1785014959642_zlivroun.jpg)ImgOps Exif Google Yandex

>>2008
just use grep -e "error|err|fail" to catch the common variations. if the logs are truly unstructured, u're basically just looking for any pattern of digits following a specific prefix.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">