3 ms·
An OutOfMemoryException log should not be the same as a search log Error: OutOfMemoryException And Search: OutOfMemoryException Should not be related in
by owebmaster 2y ago
An OutOfMemoryException log should not be the same as a search log
Error: OutOfMemoryException
And
Search: OutOfMemoryException
Should not be related in any way
- dusanz 2y agoUntil someone searches for "Error: OutOfMemoryException"
- PhilipRoman 2y agoIf structured logging is too much, unique prefixes solve this issue. Basically you need some token that user provided data is unable to output to the log. If you rigorously escape all newlines, you can then use start-of-line and end-of-line as unforgeable tokens. The possibilities are endless and it all comes down to understanding whether the intersection of two grammars is empty.
- happysadpanda2 2y agoI read the gp to mean that error.log (being parsed to look for OOM) would have no associations with userSearches.log, in which an end-user searched for OOM