4 ms·
I once saw an .ini for a log parser: [Alarm] Name=Nginx Errors Pattern="[error] <pid>#<tid>: <message>" The thing worked. Without any errors. And
by whytevuhuni 2y ago
I once saw an .ini for a log parser:
[Alarm]
Name=Nginx Errors
Pattern="[error] <pid>#<tid>: <message>"
The thing worked. Without any errors. And yet it took:
Pattern="[error] <pid>
..and then considered the rest of the line a comment. It didn't even error on the fact that the quotes were not closed.
Hand-rolling config formats is hard.
- IshKebab 2y agoYeah try adding a git alias with quotes... I ended up reading the source code to figure out wtf it was doing.