How to capture c-lightining logs?lightning node daemon hangs at “waiting for chain backend to finish sync, start_height=521042”How to know earning LN routing feesHow to convert channel id from c-lightning to lnd?How can I see how many Bitcoins my c-lightning network node has?How to debug lightning-cli invoiceHow to use remote bitcoind with dockerIs it possible to rebalance channels by sending to yourself (from a channel to an other) in c-lightning? How?How to install & activate a c-lightning plugin in lightningd?How create a personal node c-lighting for create a new channel with other node
The meaning of "offing" in "an agreement in the offing"
How to set any file manager in Linux to show the duration like the Length feature in Windows Explorer?
Online Education for OR and Developing Decision Support Systems
How to descend a few exposed scrambling moves with minimal equipment?
How do Scrum teams manage their dependencies on other teams?
Short story: Interstellar inspector senses "off" nature of planet hiding aggressive culture
Capacitors with same voltage, same capacitance, same temp, different diameter?
Was Robin Hood's point of view ethically sound?
Why does low tire pressure decrease fuel economy?
Why can't some airports handle heavy aircraft while others do it easily (same runway length)?
Why is the the worst case for this function O(n*n)
Do aarakocra have arms as well as wings?
Quick Shikaku Puzzle: Stars and Stripes
What is the difference between a translation and a Galilean transformation?
Is there a "right" way to interpret a novel, if not, how do we make sure our novel is interpreted correctly?
How there are 3 possible tautomers of 2,2,4-trimethylheptane-3,5-dione?
Are there any space probes or landers which regained communication after being lost?
The pirate treasure of Leatherback Atoll
When did computers stop checking memory on boot?
Bacteria vats to generate edible biomass, require intermediary species?
Contour plot of a sequence of spheres with increasing radius
Maze generator & animator in Python
How to reference a custom counter that shows section number?
Features seen on the Space Shuttle's solid booster; what does "LOADED" mean exactly?
How to capture c-lightining logs?
lightning node daemon hangs at “waiting for chain backend to finish sync, start_height=521042”How to know earning LN routing feesHow to convert channel id from c-lightning to lnd?How can I see how many Bitcoins my c-lightning network node has?How to debug lightning-cli invoiceHow to use remote bitcoind with dockerIs it possible to rebalance channels by sending to yourself (from a channel to an other) in c-lightning? How?How to install & activate a c-lightning plugin in lightningd?How create a personal node c-lighting for create a new channel with other node
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Where does c-lightning save its debug.log file? I know you can run the lightning daemon with --log-level=debug
and access the logs in the terminal. But, I run my node on a remote server and I access it via SSH and sometimes when my internet connection goes off for a second on the machine which I am accessing through, my SSH client times out. I was wondering if there is a location where c-lightning saves all these logs just like how Bitcoin-core saves its debug.log file in ~/.bitcoin
folder.
lightning-network c-lightning
add a comment |
Where does c-lightning save its debug.log file? I know you can run the lightning daemon with --log-level=debug
and access the logs in the terminal. But, I run my node on a remote server and I access it via SSH and sometimes when my internet connection goes off for a second on the machine which I am accessing through, my SSH client times out. I was wondering if there is a location where c-lightning saves all these logs just like how Bitcoin-core saves its debug.log file in ~/.bitcoin
folder.
lightning-network c-lightning
add a comment |
Where does c-lightning save its debug.log file? I know you can run the lightning daemon with --log-level=debug
and access the logs in the terminal. But, I run my node on a remote server and I access it via SSH and sometimes when my internet connection goes off for a second on the machine which I am accessing through, my SSH client times out. I was wondering if there is a location where c-lightning saves all these logs just like how Bitcoin-core saves its debug.log file in ~/.bitcoin
folder.
lightning-network c-lightning
Where does c-lightning save its debug.log file? I know you can run the lightning daemon with --log-level=debug
and access the logs in the terminal. But, I run my node on a remote server and I access it via SSH and sometimes when my internet connection goes off for a second on the machine which I am accessing through, my SSH client times out. I was wondering if there is a location where c-lightning saves all these logs just like how Bitcoin-core saves its debug.log file in ~/.bitcoin
folder.
lightning-network c-lightning
lightning-network c-lightning
edited 6 hours ago
Ugam Kamat
asked 8 hours ago
Ugam KamatUgam Kamat
3,6151 gold badge5 silver badges27 bronze badges
3,6151 gold badge5 silver badges27 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
C-lightning does not save logs by default. One can ensure that the logs are saved to the drive by including log-file=<file_name>.log
in the config file. When staring lightningd
you can include the level of logs that the file has to capture by including --log-level=LEVEL
, where LEVEL can be io
, debug
, info
, unusual
, or broken
.
2
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either calledconfig
and stored in your lightning dir (by default at~/.lightning
) or is passed as an argument to lightningd
– Rene Pickhardt
5 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "308"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f90287%2fhow-to-capture-c-lightining-logs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
C-lightning does not save logs by default. One can ensure that the logs are saved to the drive by including log-file=<file_name>.log
in the config file. When staring lightningd
you can include the level of logs that the file has to capture by including --log-level=LEVEL
, where LEVEL can be io
, debug
, info
, unusual
, or broken
.
2
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either calledconfig
and stored in your lightning dir (by default at~/.lightning
) or is passed as an argument to lightningd
– Rene Pickhardt
5 hours ago
add a comment |
C-lightning does not save logs by default. One can ensure that the logs are saved to the drive by including log-file=<file_name>.log
in the config file. When staring lightningd
you can include the level of logs that the file has to capture by including --log-level=LEVEL
, where LEVEL can be io
, debug
, info
, unusual
, or broken
.
2
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either calledconfig
and stored in your lightning dir (by default at~/.lightning
) or is passed as an argument to lightningd
– Rene Pickhardt
5 hours ago
add a comment |
C-lightning does not save logs by default. One can ensure that the logs are saved to the drive by including log-file=<file_name>.log
in the config file. When staring lightningd
you can include the level of logs that the file has to capture by including --log-level=LEVEL
, where LEVEL can be io
, debug
, info
, unusual
, or broken
.
C-lightning does not save logs by default. One can ensure that the logs are saved to the drive by including log-file=<file_name>.log
in the config file. When staring lightningd
you can include the level of logs that the file has to capture by including --log-level=LEVEL
, where LEVEL can be io
, debug
, info
, unusual
, or broken
.
answered 5 hours ago
Ugam KamatUgam Kamat
3,6151 gold badge5 silver badges27 bronze badges
3,6151 gold badge5 silver badges27 bronze badges
2
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either calledconfig
and stored in your lightning dir (by default at~/.lightning
) or is passed as an argument to lightningd
– Rene Pickhardt
5 hours ago
add a comment |
2
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either calledconfig
and stored in your lightning dir (by default at~/.lightning
) or is passed as an argument to lightningd
– Rene Pickhardt
5 hours ago
2
2
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either called
config
and stored in your lightning dir (by default at ~/.lightning
) or is passed as an argument to lightningd– Rene Pickhardt
5 hours ago
As all command line arguments to lightningd these can also be stored as key value pairs in a config file which is either called
config
and stored in your lightning dir (by default at ~/.lightning
) or is passed as an argument to lightningd– Rene Pickhardt
5 hours ago
add a comment |
Thanks for contributing an answer to Bitcoin Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f90287%2fhow-to-capture-c-lightining-logs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown