-
-
Notifications
You must be signed in to change notification settings - Fork 270
feat: added Module-level Debug Filtering #754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -40,6 +40,9 @@ | |||||||||||||||||||||||||
| proxyPort: 16789 | ||||||||||||||||||||||||||
| dnsPort: 26789 | ||||||||||||||||||||||||||
| debug: false | ||||||||||||||||||||||||||
| debugModules: | ||||||||||||||||||||||||||
| include: [] | ||||||||||||||||||||||||||
| exclude: [] | ||||||||||||||||||||||||||
| disableTele: false | ||||||||||||||||||||||||||
| inDocker: false | ||||||||||||||||||||||||||
| generateGithubActions: true | ||||||||||||||||||||||||||
|
|
@@ -92,6 +95,27 @@ | |||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ## Configuration Sections | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ### Debug Logging | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| The `debug` and `debugModules` settings control debug log output. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - **`debug`**: Enables debug logs. When `false`, debug logs are suppressed and `debugModules` is ignored. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - **`debugModules.include`**: Whitelist of module prefixes. When set, only matching modules emit debug logs. When empty, all modules are allowed (if `debug` is `true`). | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| - **`debugModules.exclude`**: Blacklist of module prefixes applied after `include`. | ||||||||||||||||||||||||||
|
Comment on lines
+104
to
+106
|
||||||||||||||||||||||||||
| - **`debugModules.include`**: Whitelist of module prefixes. When set, only matching modules emit debug logs. When empty, all modules are allowed (if `debug` is `true`). | |
| - **`debugModules.exclude`**: Blacklist of module prefixes applied after `include`. | |
| - **`debugModules.include`**: Allowlist of module prefixes. When set, only matching modules emit debug logs. When empty, all modules are allowed (if `debug` is `true`). | |
| - **`debugModules.exclude`**: Denylist of module prefixes applied after `include`. |
Copilot
AI
Jan 19, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The word "Blacklist" is considered outdated terminology. Use "Denylist" or "Blocklist" instead, which are the modern, more inclusive terms recommended in current best practices.
| - **`debugModules.include`**: Whitelist of module prefixes. When set, only matching modules emit debug logs. When empty, all modules are allowed (if `debug` is `true`). | |
| - **`debugModules.exclude`**: Blacklist of module prefixes applied after `include`. | |
| - **`debugModules.include`**: Allowlist of module prefixes. When set, only matching modules emit debug logs. When empty, all modules are allowed (if `debug` is `true`). | |
| - **`debugModules.exclude`**: Denylist of module prefixes applied after `include`. |
Copilot
AI
Jan 19, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parenthetical phrase should use "e.g." instead of "for example" for consistency with formal documentation style. Alternatively, for better readability, consider restructuring as: "Module names are logger prefixes such as proxy, record, test, hooks, telemetry, proxy.http, and proxy.mysql."
| Module names are logger prefixes (for example: `proxy`, `record`, `test`, `hooks`, `telemetry`, `proxy.http`, `proxy.mysql`). Matching is hierarchical: `proxy` matches `proxy.http` and `proxy.mysql`. | |
| Module names are logger prefixes such as `proxy`, `record`, `test`, `hooks`, `telemetry`, `proxy.http`, and `proxy.mysql`. Matching is hierarchical: `proxy` matches `proxy.http` and `proxy.mysql`. |
Check failure on line 135 in versioned_docs/version-3.0.0/running-keploy/configuration-file.md
GitHub Actions / vale
[vale] versioned_docs/version-3.0.0/running-keploy/configuration-file.md#L135
[Vale.Spelling] Did you really mean 'matchType'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'matchType'?", "location": {"path": "versioned_docs/version-3.0.0/running-keploy/configuration-file.md", "range": {"start": {"line": 135, "column": 127}}}, "severity": "ERROR"}
Check failure on line 271 in versioned_docs/version-3.0.0/running-keploy/configuration-file.md
GitHub Actions / vale
[vale] versioned_docs/version-3.0.0/running-keploy/configuration-file.md#L271
[Vale.Spelling] Did you really mean 'hardcoding'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'hardcoding'?", "location": {"path": "versioned_docs/version-3.0.0/running-keploy/configuration-file.md", "range": {"start": {"line": 271, "column": 93}}}, "severity": "ERROR"}
Check failure on line 327 in versioned_docs/version-3.0.0/running-keploy/configuration-file.md
GitHub Actions / vale
[vale] versioned_docs/version-3.0.0/running-keploy/configuration-file.md#L327
[Vale.Spelling] Did you really mean 'xml'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'xml'?", "location": {"path": "versioned_docs/version-3.0.0/running-keploy/configuration-file.md", "range": {"start": {"line": 327, "column": 48}}}, "severity": "ERROR"}
Check failure on line 327 in versioned_docs/version-3.0.0/running-keploy/configuration-file.md
GitHub Actions / vale
[vale] versioned_docs/version-3.0.0/running-keploy/configuration-file.md#L327
[Vale.Spelling] Did you really mean 'json'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'json'?", "location": {"path": "versioned_docs/version-3.0.0/running-keploy/configuration-file.md", "range": {"start": {"line": 327, "column": 67}}}, "severity": "ERROR"}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link reference is incomplete. It should point to the specific section within the configuration file documentation. Update the link to include the anchor:
[Configuration File](configuration-file#debug-logging)to ensure users are directed to the relevant Debug Logging section.