@@ -35,13 +35,13 @@ export abstract class DBResourceNode extends AWSTreeNodeBase implements AWSResou
3535 ) {
3636 super ( label , collapsibleState )
3737 this . regionCode = client . regionCode
38- getLogger ( ) . info ( `NEW DBResourceNode` )
38+ getLogger ( ) . debug ( `NEW DBResourceNode` )
3939 }
4040
4141 public isStatusRequiringPolling ( ) : boolean {
4242 const currentStatus = this . status ?. toLowerCase ( )
4343 const isProcessingStatus = currentStatus !== undefined && this . processingStatuses . has ( currentStatus )
44- getLogger ( ) . info (
44+ getLogger ( ) . debug (
4545 `isStatusRequiringPolling (DBResourceNode):: Checking if status "${ currentStatus } " for ARN: ${ this . arn } requires polling: ${ isProcessingStatus } `
4646 )
4747 return isProcessingStatus
@@ -69,7 +69,7 @@ export abstract class DBResourceNode extends AWSTreeNodeBase implements AWSResou
6969
7070 public get isPolling ( ) : boolean {
7171 const isPolling = DBResourceNode . globalPollingArns . has ( this . arn )
72- getLogger ( ) . info ( `isPolling: ARN ${ this . arn } is ${ isPolling ? '' : 'not ' } being polled.` )
72+ getLogger ( ) . debug ( `isPolling: ARN ${ this . arn } is ${ isPolling ? '' : 'not ' } being polled.` )
7373 return isPolling
7474 }
7575
@@ -101,11 +101,11 @@ export abstract class DBResourceNode extends AWSTreeNodeBase implements AWSResou
101101 const status = await this . getStatus ( )
102102 if ( checkProcessingStatuses ) {
103103 const isProcessingStatus = status !== undefined && this . processingStatuses . has ( status . toLowerCase ( ) )
104- getLogger ( ) . info ( 'docdb: waitUntilStatusChangedToProcessingStatus: %O' , isProcessingStatus )
104+ getLogger ( ) . debug ( 'docdb: waitUntilStatusChangedToProcessingStatus: %O' , isProcessingStatus )
105105 return isProcessingStatus
106106 } else {
107107 const hasStatusChanged = status !== this . status
108- getLogger ( ) . info ( 'docdb: waitUntilStatusChanged (status): %O' , hasStatusChanged )
108+ getLogger ( ) . debug ( 'docdb: waitUntilStatusChanged (status): %O' , hasStatusChanged )
109109 return hasStatusChanged
110110 }
111111 } ,
@@ -116,28 +116,28 @@ export abstract class DBResourceNode extends AWSTreeNodeBase implements AWSResou
116116 }
117117
118118 public async trackChangesWithWaitProcessingStatus ( ) {
119- getLogger ( ) . info (
119+ getLogger ( ) . debug (
120120 `Preparing to track changes with waiting a processing status for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;`
121121 )
122122 if ( ! this . isPolling ) {
123123 this . isPolling = true
124124 await this . waitUntilStatusChanged ( true , 60000 , 1000 )
125- getLogger ( ) . info ( `Tracking changes for a processing status wait is over` )
125+ getLogger ( ) . debug ( `Tracking changes for a processing status wait is over` )
126126 this . pollingSet . start ( this . arn )
127- getLogger ( ) . info ( `Tracking changes for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;` )
127+ getLogger ( ) . debug ( `Tracking changes for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;` )
128128 } else {
129- getLogger ( ) . info ( `ARN: ${ this . arn } already being tracked` )
129+ getLogger ( ) . debug ( `ARN: ${ this . arn } already being tracked` )
130130 }
131131 }
132132
133133 public trackChanges ( ) {
134- getLogger ( ) . info ( `Preparing to track immdiately for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;` )
134+ getLogger ( ) . debug ( `Preparing to track immdiately for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;` )
135135 if ( ! this . isPolling ) {
136136 this . isPolling = true
137137 this . pollingSet . start ( this . arn )
138- getLogger ( ) . info ( `Tracking changes for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;` )
138+ getLogger ( ) . debug ( `Tracking changes for ARN: ${ this . arn } ; condition: ${ this . isPolling } ;` )
139139 } else {
140- getLogger ( ) . info ( `ARN: ${ this . arn } already being tracked` )
140+ getLogger ( ) . debug ( `ARN: ${ this . arn } already being tracked` )
141141 }
142142 }
143143
@@ -156,16 +156,16 @@ export abstract class DBResourceNode extends AWSTreeNodeBase implements AWSResou
156156 private async updateNodeStatus ( ) {
157157 const currentStatus = this . status
158158 const newStatus = await this . getStatus ( )
159- getLogger ( ) . info (
159+ getLogger ( ) . debug (
160160 `docdb: ${ this . arn } updateNodeStatus (new status): ${ newStatus } (old status): ${ currentStatus } `
161161 )
162162 if ( currentStatus !== newStatus ) {
163- getLogger ( ) . info ( `docdb: ${ this . arn } updateNodeStatus - refreshing UI` )
163+ getLogger ( ) . info ( `docdb: ${ this . arn } status: ${ newStatus } , refreshing UI` )
164164 this . refreshTree ( )
165165 }
166166 if ( ! this . isStatusRequiringPolling ( ) ) {
167- getLogger ( ) . info ( `docdb: ${ this . arn } updateNodeStatus - refreshing UI` )
168- getLogger ( ) . info ( `pollingSet delete ${ this . arn } updateNodeStatus` )
167+ getLogger ( ) . info ( `docdb: ${ this . arn } status: ${ newStatus } , refreshing UI` )
168+ getLogger ( ) . debug ( `pollingSet delete ${ this . arn } updateNodeStatus` )
169169 this . pollingSet . delete ( this . arn )
170170 this . pollingSet . clearTimer ( )
171171 this . isPolling = false
0 commit comments