Commit fd55193
Fix extra logging in non-root commands (#1500)
* Initial plan
* Fix extra logging in non-root commands by filtering plugin messages
Co-authored-by: waldekmastykarz <[email protected]>
* Refactor: Use IsRootCommand instead of listing subcommand names
Co-authored-by: waldekmastykarz <[email protected]>
* Handle jwt command separately: no console logging, other subcommands log
Co-authored-by: waldekmastykarz <[email protected]>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
* Enhance logging for non-root subcommands by adjusting filter levels and adding console formatter
* Fix subcommands to use simple logging with plugin messages filtered out
Co-authored-by: waldekmastykarz <[email protected]>
* Keep rich logging for subcommands, only suppress plugin messages
Co-authored-by: waldekmastykarz <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: waldekmastykarz <[email protected]>
Co-authored-by: Waldek Mastykarz <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Garry Trinder <[email protected]>1 parent b3213ee commit fd55193
2 files changed
Lines changed: 85 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
81 | 124 | | |
82 | 125 | | |
83 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
42 | 83 | | |
43 | 84 | | |
44 | 85 | | |
45 | 86 | | |
46 | 87 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 88 | + | |
51 | 89 | | |
52 | 90 | | |
53 | 91 | | |
| |||
61 | 99 | | |
62 | 100 | | |
63 | 101 | | |
64 | | - | |
65 | 102 | | |
66 | 103 | | |
67 | 104 | | |
| |||
0 commit comments