add log instance to IPython shell environment

master
Justin Riley 2016-07-21 13:36:46 -04:00
parent 2878ede2d6
commit 93db7bcd17
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def shell(args, one_args, etcd_args):
skyclient = onemon._skydns
etcdclient = skyclient._etcd
ns = dict(onemon=onemon, skyclient=skyclient, oneclient=oneclient,
etcdclient=etcdclient)
etcdclient=etcdclient, log=logger.log)
utils.shell(local_ns=ns)