forked from M-Labs/artiq
dashboard: log server address even if friendly name given
This commit is contained in:
parent
9a1adfe65c
commit
fbd4d8eb6f
|
@ -218,8 +218,11 @@ def main():
|
||||||
if d_log0 is not None:
|
if d_log0 is not None:
|
||||||
main_window.tabifyDockWidget(d_schedule, d_log0)
|
main_window.tabifyDockWidget(d_schedule, d_log0)
|
||||||
|
|
||||||
|
server_description = server_name
|
||||||
|
if server_name != args.server:
|
||||||
|
server_description += " ({})".format(args.server)
|
||||||
logging.info("ARTIQ dashboard %s connected to %s",
|
logging.info("ARTIQ dashboard %s connected to %s",
|
||||||
artiq_version, server_name)
|
artiq_version, server_description)
|
||||||
|
|
||||||
# run
|
# run
|
||||||
main_window.show()
|
main_window.show()
|
||||||
|
|
Loading…
Reference in New Issue