system_resetLogFilter - Bittensor RPC Method
Reset the log filter to defaults on a Bittensor node. Administrative method.
Bittensor RPC endpoint: endpoint URLs, plans and pricing.
Resets the node's log filter to its default configuration, removing any filters that were added at runtime via system_addLogFilter. This is an administrative method that requires --rpc-methods unsafe and is not available on public shared RPC endpoints.
Parameters
None.
Response
| Field | Type | Description |
|---|---|---|
result | null | Confirms the log filter has been reset to defaults. |
Code Examples
curl -X POST https://api-bittensor-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "system_resetLogFilter",
"params": [],
"id": 1
}'Use Cases
- End debugging session -- Reset log verbosity to defaults after a debugging session to restore normal log volume and node performance.
- Reduce log noise -- Remove verbose filters that were temporarily added for investigation.
- Clean state -- Ensure the log filter is in a known-good default state.
Notes
- This is an unsafe/administrative method. Disabled on public RPC endpoints including Dwellir's shared Bittensor nodes.
- The default filter is determined by the node's startup configuration (
--logCLI flag orRUST_LOGenvironment variable). - Resetting the filter does not affect log output already written; it only changes future log filtering.
Related Methods
system_addLogFilter-- Add a log filter directivesystem_nodeRoles-- Check node rolessystem_syncState-- Check sync progress