hapi
hapi copied to clipboard
Add Tag filter to log channels
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.
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.