Add unique ID without impacting wildcard functionality
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- javascript
- Domaine
- observability
Piste de recherche
Start by reviewing the library's extend behavior and wildcard matching, then trace how names are formatted and filtered. Define how a unique transaction ID should appear in log output while preserving patterns such as DEBUG=debug:app*:other_extend_call; done means both identification and wildcard filtering work together.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
If a lot of different users interact with your application at the same time and calling async calls, you get log output that is a combination of all these actions and it's not easy to determine which log line is for which user/action/transaction/call_it_however_you_like.
I thought about using the extend function and add something like ":trans(transaction_id)" so the output would be:
debug:app(transaction_id) Some log output
But the problem here is that wildcards for enabling other extend calls would be an issue. For example DEBUG=debug:app*:other_extend_call which will not work.
Is there a way to add a transactionid to this without breaking the wildcard functionality? For example by just removing (transaction_id) using a replace somewhere in the library?
- Langage dominant
- JavaScript
- Étoiles
- 11.5k
- Forks
- 992
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de debug-js/debug
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
-
Debug as JSON Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
-
console.group and groupCollapsed Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 28/100
Toutes les issues de debug-js/debug
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
Daemon passes --experimental-wasm-jspi unconditionally on Node >= 24; Node 26 rejects the flag Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Automattic/studio#4908 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
sugarlabs/musicblocks#8847 ·