Skip to content

Commit faa4978

Browse files
committed
Change log level of mef_eline.storehouse
Some log messages were changed from info to debug, disabling unnecessary messages Fixes kytos#25
1 parent 121789c commit faa4978

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storehouse.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ def create_box(self):
4242
'data': {}}
4343
event = KytosEvent(name='kytos.storehouse.create', content=content)
4444
self.controller.buffers.app.put(event)
45-
log.info('Create box from storehouse.')
45+
log.debug('Create box from storehouse.')
4646

4747
def _create_box_callback(self, _event, data, error):
4848
"""Execute the callback to handle create_box."""
4949
if error:
5050
log.error(f'Can\'t create box with namespace {self.namespace}')
5151

5252
self.box = data
53-
log.info(f'Box {self.box.box_id} was created in {self.namespace}.')
53+
log.debug(f'Box {self.box.box_id} was created in {self.namespace}.')
5454

5555
def list_stored_boxes(self):
5656
"""List all boxes using the current namespace."""
@@ -109,4 +109,4 @@ def _save_evc_callback(self, _event, data, error):
109109
if error:
110110
log.error(f'Can\'t update the {self.box.box_id}')
111111

112-
log.info(f'Box {data.box_id} was updated.')
112+
log.debug(f'Box {data.box_id} was updated.')

0 commit comments

Comments
 (0)