Skip to content

Commit

Permalink
Report version and cwd at manager startup
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Aug 29, 2017
1 parent 5baf7fe commit 5336c90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dfms/manager/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import daemon
from lockfile.pidlockfile import PIDLockFile

from dfms import version
from dfms.manager.composite_manager import DataIslandManager, MasterManager
from dfms.manager.constants import NODE_DEFAULT_REST_PORT, \
ISLAND_DEFAULT_REST_PORT, MASTER_DEFAULT_REST_PORT, REPLAY_DEFAULT_REST_PORT
Expand All @@ -51,6 +52,7 @@ def launchServer(opts):
logger = logging.getLogger(__name__)
dmName = opts.dmType.__name__

logger.info('DALiuGE version %s running at %s', version.full_version, os.getcwd())
logger.info('Creating %s' % (dmName))
dm = opts.dmType(*opts.dmArgs, **opts.dmKwargs)

Expand Down

0 comments on commit 5336c90

Please sign in to comment.