@@ -92,10 +92,8 @@ func (s *Server) UpdateConfig(cfg *Config) {
9292func (s * Server ) initialize (interceptorChain * rpcperms.InterceptorChain ) error {
9393 // Show version at startup.
9494 srvrLog .Infof ("Version: %s, build=%s, logging=%s, " +
95- "debuglevel=%s" , Version (), build .Deployment ,
96- build .LoggingType , s .cfg .DebugLevel )
97-
98- srvrLog .Infof ("Active network: %v" , s .cfg .ChainParams .Name )
95+ "debuglevel=%s, active_network=%v" , Version (), build .Deployment ,
96+ build .LoggingType , s .cfg .DebugLevel , s .cfg .ChainParams .Name )
9997
10098 // Depending on how far we got in initializing the server, we might need
10199 // to clean up certain services that were already started. Keep track of
@@ -1037,7 +1035,7 @@ func (s *Server) AuxCloseOutputs(
10371035 desc chancloser.AuxCloseDesc ) (lfn.Option [chancloser.AuxCloseOutputs ],
10381036 error ) {
10391037
1040- srvrLog .Infof ("AuxCloseOutputs called, desc=%v" , spew .Sdump (desc ))
1038+ srvrLog .Tracef ("AuxCloseOutputs called, desc=%v" , spew .Sdump (desc ))
10411039
10421040 if err := s .waitForReady (); err != nil {
10431041 return lfn .None [chancloser.AuxCloseOutputs ](), err
@@ -1054,7 +1052,7 @@ func (s *Server) ShutdownBlob(
10541052 req chancloser.AuxShutdownReq ) (lfn.Option [lnwire.CustomRecords ],
10551053 error ) {
10561054
1057- srvrLog .Infof ("ShutdownBlob called, req=%v" , spew .Sdump (req ))
1055+ srvrLog .Tracef ("ShutdownBlob called, req=%v" , spew .Sdump (req ))
10581056
10591057 if err := s .waitForReady (); err != nil {
10601058 return lfn .None [lnwire.CustomRecords ](), err
@@ -1071,7 +1069,7 @@ func (s *Server) ShutdownBlob(
10711069func (s * Server ) FinalizeClose (desc chancloser.AuxCloseDesc ,
10721070 closeTx * wire.MsgTx ) error {
10731071
1074- srvrLog .Infof ("FinalizeClose called, desc=%v, closeTx=%v" ,
1072+ srvrLog .Tracef ("FinalizeClose called, desc=%v, closeTx=%v" ,
10751073 spew .Sdump (desc ), spew .Sdump (closeTx ))
10761074
10771075 if err := s .waitForReady (); err != nil {
@@ -1086,7 +1084,7 @@ func (s *Server) FinalizeClose(desc chancloser.AuxCloseDesc,
10861084func (s * Server ) ResolveContract (
10871085 req lnwallet.ResolutionReq ) lfn.Result [tlv.Blob ] {
10881086
1089- srvrLog .Infof ("ResolveContract called, req=%v" , spew .Sdump (req ))
1087+ srvrLog .Tracef ("ResolveContract called, req=%v" , spew .Sdump (req ))
10901088
10911089 if err := s .waitForReady (); err != nil {
10921090 return lfn.Err [tlv.Blob ](err )
@@ -1101,7 +1099,7 @@ func (s *Server) ResolveContract(
11011099func (s * Server ) DeriveSweepAddr (inputs []input.Input ,
11021100 change lnwallet.AddrWithKey ) lfn.Result [sweep.SweepOutput ] {
11031101
1104- srvrLog .Infof ("DeriveSweepAddr called, inputs=%v, change=%v" ,
1102+ srvrLog .Tracef ("DeriveSweepAddr called, inputs=%v, change=%v" ,
11051103 spew .Sdump (inputs ), spew .Sdump (change ))
11061104
11071105 if err := s .waitForReady (); err != nil {
@@ -1116,7 +1114,7 @@ func (s *Server) DeriveSweepAddr(inputs []input.Input,
11161114func (s * Server ) NotifyBroadcast (req * sweep.BumpRequest ,
11171115 tx * wire.MsgTx , fee btcutil.Amount ) error {
11181116
1119- srvrLog .Infof ("NotifyBroadcast called, req=%v, tx=%v, fee=%v" ,
1117+ srvrLog .Tracef ("NotifyBroadcast called, req=%v, tx=%v, fee=%v" ,
11201118 spew .Sdump (req ), spew .Sdump (tx ), fee )
11211119
11221120 if err := s .waitForReady (); err != nil {
0 commit comments