hapi icon indicating copy to clipboard operation
hapi copied to clipboard

Add Tag filter to log channels

Open nvcexploder opened this issue 13 years ago • 1 comments

Add the ability to filter logs based on tag, enabling things like this:

"monitor": {
     "subscribers": {
           "http://localhost:8080": ["ops", "request", "log"],
           "console": { "tags": ["ERROR", "WARNING"], "eventTypes": ["log"] }
     }
}

In this config ALL messages from all channels (regardless of tag) get sent to localhost. In the second line, ONLY ERRORs and WARNINGs go to console.

nvcexploder avatar Jan 23 '13 23:01 nvcexploder

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

lock[bot] avatar Jan 09 '20 01:01 lock[bot]