File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11
11
## New Features
12
12
13
13
* This release now supports the sdk up to rc2000.
14
+ * Less logs are now on ` INFO ` level, and more on ` DEBUG ` level, making the output less verbose.
14
15
15
16
## Bug Fixes
16
17
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ async def _fetch(self) -> None:
296
296
self ._dispatches = {}
297
297
298
298
try :
299
- _logger .info ("Fetching dispatches for microgrid %s" , self ._microgrid_id )
299
+ _logger .debug ("Fetching dispatches for microgrid %s" , self ._microgrid_id )
300
300
async for page in self ._client .list (microgrid_id = self ._microgrid_id ):
301
301
for client_dispatch in page :
302
302
dispatch = Dispatch (client_dispatch )
@@ -314,15 +314,15 @@ async def _fetch(self) -> None:
314
314
)
315
315
await self ._lifecycle_events_tx .send (Updated (dispatch = dispatch ))
316
316
317
- _logger .info ("Received %s dispatches" , len (self ._dispatches ))
317
+ _logger .debug ("Received %s dispatches" , len (self ._dispatches ))
318
318
319
319
except grpc .aio .AioRpcError as error :
320
320
_logger .error ("Error fetching dispatches: %s" , error )
321
321
self ._dispatches = old_dispatches
322
322
return
323
323
324
324
for dispatch in old_dispatches .values ():
325
- _logger .info ("Deleted dispatch: %s" , dispatch )
325
+ _logger .debug ("Deleted dispatch: %s" , dispatch )
326
326
await self ._lifecycle_events_tx .send (Deleted (dispatch = dispatch ))
327
327
await self ._update_dispatch_schedule_and_notify (None , dispatch )
328
328
You can’t perform that action at this time.
0 commit comments