v0.2.6-pre.003-fix.002

This commit is contained in:
2026-08-20 21:33:46 +02:00
parent 0e72914237
commit 3fa4ab251a
13 changed files with 652 additions and 81 deletions

View File

@@ -3,6 +3,156 @@
"logs_directory": "${KSP_LOGS_DIRECTORY:-logs}",
"default_profile": "local_dev",
"profiles": [
{
"profile_id": "console_error",
"default_filter": "error",
"span_events": "new_and_close",
"console": {
"enabled": true,
"output": "stderr",
"ansi": true,
"format": "compact",
"filter": {
"level": "error",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [],
"target_filters": []
},
{
"profile_id": "console_warn",
"default_filter": "warn",
"span_events": "new_and_close",
"console": {
"enabled": true,
"output": "stderr",
"ansi": true,
"format": "compact",
"filter": {
"level": "warn",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [],
"target_filters": []
},
{
"profile_id": "console_info",
"default_filter": "info",
"span_events": "new_and_close",
"console": {
"enabled": true,
"output": "stderr",
"ansi": true,
"format": "compact",
"filter": {
"level": "info",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [],
"target_filters": []
},
{
"profile_id": "console_debug",
"default_filter": "debug",
"span_events": "new_and_close",
"console": {
"enabled": true,
"output": "stderr",
"ansi": true,
"format": "compact",
"filter": {
"level": "debug",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [],
"target_filters": []
},
{
"profile_id": "console_trace",
"default_filter": "trace",
"span_events": "new_and_close",
"console": {
"enabled": true,
"output": "stderr",
"ansi": true,
"format": "compact",
"filter": {
"level": "trace",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [],
"target_filters": []
},
{
"profile_id": "file_info",
"default_filter": "info",
"span_events": "new_and_close",
"console": {
"enabled": false,
"output": "stderr",
"ansi": false,
"format": "compact",
"filter": {
"level": "off",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [
{
"output_id": "file.all.info",
"enabled": true,
"path": "info/ksp-info.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "info",
"targets": [
"*"
],
"domains": [
"*"
]
}
}
],
"target_filters": []
},
{
"profile_id": "local_dev",
"default_filter": "warn",
@@ -95,8 +245,8 @@
]
},
{
"profile_id": "wallet_desk_dev",
"default_filter": "info",
"profile_id": "superdev",
"default_filter": "debug",
"span_events": "new_and_close",
"console": {
"enabled": true,
@@ -104,9 +254,9 @@
"ansi": true,
"format": "compact",
"filter": {
"level": "trace",
"level": "debug",
"targets": [
"ksp-app-wallet-desk"
"*"
],
"domains": [
"*"
@@ -115,16 +265,16 @@
},
"files": [
{
"output_id": "file.all.info",
"output_id": "file.ksp_app_config_desk.debug",
"enabled": true,
"path": "info/ksp-info.log",
"path": "targets/debug/ksp-app-config-desk.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "info",
"level": "debug",
"targets": [
"*"
"ksp-app-config-desk"
],
"domains": [
"*"
@@ -132,9 +282,151 @@
}
},
{
"output_id": "file.wallet_desk.trace",
"output_id": "file.ksp_app_wallet_desk.debug",
"enabled": true,
"path": "wallet-desk/ksp-app-wallet-desk.log",
"path": "targets/debug/ksp-app-wallet-desk.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "debug",
"targets": [
"ksp-app-wallet-desk"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_config_lib.debug",
"enabled": true,
"path": "targets/debug/ksp-config-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "debug",
"targets": [
"ksp-config-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_core_lib.debug",
"enabled": true,
"path": "targets/debug/ksp-core-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "debug",
"targets": [
"ksp-core-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_logging_lib.debug",
"enabled": true,
"path": "targets/debug/ksp-logging-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "debug",
"targets": [
"ksp-logging-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_onchain_transport_lib.debug",
"enabled": true,
"path": "targets/debug/ksp-onchain-transport-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "debug",
"targets": [
"ksp-onchain-transport-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_wallet_lib.debug",
"enabled": true,
"path": "targets/debug/ksp-wallet-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "debug",
"targets": [
"ksp-wallet-lib"
],
"domains": [
"*"
]
}
}
],
"target_filters": []
},
{
"profile_id": "supertrace",
"default_filter": "trace",
"span_events": "new_and_close",
"console": {
"enabled": true,
"output": "stderr",
"ansi": true,
"format": "compact",
"filter": {
"level": "debug",
"targets": [
"*"
],
"domains": [
"*"
]
}
},
"files": [
{
"output_id": "file.ksp_app_config_desk.trace",
"enabled": true,
"path": "targets/trace/ksp-app-config-desk.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "trace",
"targets": [
"ksp-app-config-desk"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_app_wallet_desk.trace",
"enabled": true,
"path": "targets/trace/ksp-app-wallet-desk.log",
"rotation": "daily",
"format": "human",
"ansi": false,
@@ -149,14 +441,65 @@
}
},
{
"output_id": "file.onchain_transport.info",
"output_id": "file.ksp_config_lib.trace",
"enabled": true,
"path": "transport/onchain/ksp-onchain-transport.log",
"path": "targets/trace/ksp-config-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "info",
"level": "trace",
"targets": [
"ksp-config-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_core_lib.trace",
"enabled": true,
"path": "targets/trace/ksp-core-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "trace",
"targets": [
"ksp-core-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_logging_lib.trace",
"enabled": true,
"path": "targets/trace/ksp-logging-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "trace",
"targets": [
"ksp-logging-lib"
],
"domains": [
"*"
]
}
},
{
"output_id": "file.ksp_onchain_transport_lib.trace",
"enabled": true,
"path": "targets/trace/ksp-onchain-transport-lib.log",
"rotation": "daily",
"format": "human",
"ansi": false,
"filter": {
"level": "trace",
"targets": [
"ksp-onchain-transport-lib"
],
@@ -166,45 +509,24 @@
}
},
{
"output_id": "file.config.error",
"output_id": "file.ksp_wallet_lib.trace",
"enabled": true,
"path": "config/ksp-config-errors.jsonl",
"path": "targets/trace/ksp-wallet-lib.log",
"rotation": "daily",
"format": "json",
"format": "human",
"ansi": false,
"filter": {
"level": "error",
"level": "trace",
"targets": [
"ksp-config-lib"
"ksp-wallet-lib"
],
"domains": [
"config"
"*"
]
}
}
],
"target_filters": [
{
"target_prefix": "ksp-app-config-desk",
"level": "info"
},
{
"target_prefix": "ksp-app-wallet-desk",
"level": "trace"
},
{
"target_prefix": "ksp-config-lib",
"level": "info"
},
{
"target_prefix": "ksp-logging-lib",
"level": "info"
},
{
"target_prefix": "ksp-onchain-transport-lib",
"level": "info"
}
]
"target_filters": []
}
]
}