How to capture c-lightining logs?lightning node daemon hangs at “waiting for chain backend to finish sync,...

Why is the the worst case for this function O(n*n)

After a few interviews, What should I do after told to wait?

When did computers stop checking memory on boot?

Is future tense in English really a myth?

How to find a reviewer/editor for my paper?

Aftermarket seats

Walking on an infinite grid

How to add extra edges in tree?

Lost & Found Mobile Telepone

Why can't some airports handle heavy aircraft while others do it easily (same runway length)?

Online Education for OR and Developing Decision Support Systems

How to set any file manager in Linux to show the duration like the Length feature in Windows Explorer?

Can you pop microwave popcorn on a stove?

Bacteria vats to generate edible biomass, require intermediary species?

How should Thaumaturgy's "three times as loud as normal" be interpreted?

Short story: Interstellar inspector senses "off" nature of planet hiding aggressive culture

Does the 2019 UA artificer need to prepare the Lesser Restoration spell to cast it with their Alchemical Mastery feature?

Equilibrium points of bounce/instanton solution after Wick's rotation

If every star in the universe except the Sun were destroyed, would we die?

What is the difference between tl_to_str:V and tl_to_str:N?

Change-due function

Why would an airport be depicted with symbology for runways longer than 8,069 feet even though it is reported on the sectional as 7,200 feet?

Why is it that I have to play this note on the piano as A sharp?

The meaning of "offing" in "an agreement in the offing"



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;
}







2















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.










share|improve this question

































    2















    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.










    share|improve this question





























      2












      2








      2








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 7 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

























          1 Answer
          1






          active

          oldest

          votes


















          2
















          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.






          share|improve this answer





















          • 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
            6 hours ago














          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
          });


          }
          });















          draft saved

          draft discarded
















          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









          2
















          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.






          share|improve this answer





















          • 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
            6 hours ago
















          2
















          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.






          share|improve this answer





















          • 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
            6 hours ago














          2














          2










          2









          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 6 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 called config and stored in your lightning dir (by default at ~/.lightning) or is passed as an argument to lightningd

            – Rene Pickhardt
            6 hours ago














          • 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
            6 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
          6 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
          6 hours ago



















          draft saved

          draft discarded



















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...