what about add property for event.categoryName ?
Nobody has claimed this yet.
- #30 by @dhruval-dream — closed without merging
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- backend, observability
Research direction
Locate the returned function in logstashHTTPAppender(config) and inspect how its output object is assembled. Check the linked pull request and existing output coverage first; done means the emitted data includes the event category name without breaking the other fields.
Written by the indexing model from the issue text.
Description
Hi.
In the current version, although event has property 'categoryName', which is defined the parameter of getLogger(), there's no property in output data that is defined by the categoryName. What about to add the following line in the returned function of function logstashHTTPAppender(config) ?
{
message: format(event.data),
context: event.context,
level: event.level.level / 100,
level_name: event.level.levelStr,
category_name: event.categoryName, // +
channel: config.logChannel,
datetime: (new Date(event.startTime)).toISOString(),
extra: {},
},
- Dominant language
- JavaScript
- Stars
- 14
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100