You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.
OS: Ubuntu server 20.04
Cardano-node version: 1.13.0
Node runs in Tmux.
The exercise 6 has a section where we set up logging to be saved in a file as follows:
"setupScribes": [
{
"scFormat": "ScText",
"scKind": "StdoutSK",
"scName": "stdout",
"scRotation": null
},
{
"scFormat": "ScText",
"scKind": "FileSK",
"scName": "logs/mainnet.log"
}
]
This setup, used in conjunction with LiveView, creates log files that are empty.
My config:
{
"ApplicationName": "cardano-sl",
"ApplicationVersion": 0,
"GenesisFile": "ff-genesis.json",
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 0,
"LastKnownBlockVersion-Minor": 0,
"Protocol": "TPraos",
"RequiresNetworkMagic": "RequiresMagic",
"TraceBlockFetchClient": true,
"TraceBlockFetchDecisions": true,
"TraceBlockFetchProtocol": false,
"TraceBlockFetchProtocolSerialised": false,
"TraceBlockFetchServer": false,
"TraceChainDb": true,
"TraceChainSyncBlockServer": false,
"TraceChainSyncClient": false,
"TraceChainSyncHeaderServer": false,
"TraceChainSyncProtocol": false,
"TraceDNSResolver": true,
"TraceDNSSubscription": true,
"TraceErrorPolicy": true,
"TraceForge": true,
"TraceHandshake": false,
"TraceIpSubscription": true,
"TraceLocalChainSyncProtocol": false,
"TraceLocalErrorPolicy": true,
"TraceLocalHandshake": false,
"TraceLocalTxSubmissionProtocol": false,
"TraceLocalTxSubmissionServer": false,
"TraceMempool": true,
"TraceMux": false,
"TraceTxInbound": false,
"TraceTxOutbound": false,
"TraceTxSubmissionProtocol": false,
"TracingVerbosity": "NormalVerbosity",
"TurnOnLogMetrics": true,
"TurnOnLogging": true,
"ViewMode": "LiveView",
"defaultBackends": [
"KatipBK"
],
"defaultScribes": [
[
"StdoutSK",
"stdout"
]
],
"hasEKG": 15001,
"hasPrometheus": [
"127.0.0.1",
15000
],
"minSeverity": "Debug",
"options": {
"mapBackends": {
"cardano.node-metrics": [
"EKGViewBK",
{
"kind": "UserDefinedBK",
"name": "LiveViewBackend"
}
],
"cardano.node.BlockFetchDecision.peers": [
"EKGViewBK",
{
"kind": "UserDefinedBK",
"name": "LiveViewBackend"
}
],
"cardano.node.ChainDB.metrics": [
"EKGViewBK",
{
"kind": "UserDefinedBK",
"name": "LiveViewBackend"
}
],
"cardano.node.Forge.metrics": [
"EKGViewBK"
],
"cardano.node.metrics": [
"EKGViewBK",
{
"kind": "UserDefinedBK",
"name": "LiveViewBackend"
}
]
},
"mapSubtrace": {
"#ekgview": {
"contents": [
[
{
"contents": "cardano.epoch-validation.benchmark",
"tag": "Contains"
},
[
{
"contents": ".monoclock.basic.",
"tag": "Contains"
}
]
],
[
{
"contents": "cardano.epoch-validation.benchmark",
"tag": "Contains"
},
[
{
"contents": "diff.RTS.cpuNs.timed.",
"tag": "Contains"
}
]
],
[
{
"contents": "#ekgview.#aggregation.cardano.epoch-validation.benchmark",
"tag": "StartsWith"
},
[
{
"contents": "diff.RTS.gcNum.timed.",
"tag": "Contains"
}
]
]
],
"subtrace": "FilterTrace"
},
"benchmark": {
"contents": [
"GhcRtsStats",
"MonotonicClock"
],
"subtrace": "ObservableTrace"
},
"cardano.epoch-validation.utxo-stats": {
"subtrace": "NoTrace"
},
"cardano.node-metrics": {
"subtrace": "Neutral"
},
"cardano.node.metrics": {
"subtrace": "Neutral"
}
}
},
"rotation": {
"rpKeepFilesNum": 10,
"rpLogLimitBytes": 5000000,
"rpMaxAgeHours": 24
},
"setupBackends": [
"KatipBK"
],
"setupScribes": [
{
"scFormat": "ScText",
"scKind": "StdoutSK",
"scName": "stdout",
"scRotation": null
},
{
"scFormat": "ScText",
"scKind": "FileSK",
"scName": "/home/cnode/logs/relay1.log"
}
]
}
The text was updated successfully, but these errors were encountered: