Skip to content

Commit

Permalink
Log the version of vPoller when starting Proxy & Worker
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Jan 19, 2015
1 parent 6fc8835 commit 2de8920
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/vpoller/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@

import logging
import multiprocessing

from platform import node
from ConfigParser import ConfigParser

import zmq

from vpoller import __version__


class VPollerProxyManager(object):
"""
Expand Down Expand Up @@ -71,7 +74,7 @@ def start(self):
Start the vPoller Proxy processes
"""
logging.info('Starting Proxy Manager')
logging.info('Starting Proxy Manager [%s release]', __version__)

self.load_config()
self.create_sockets()
Expand Down
3 changes: 2 additions & 1 deletion src/vpoller/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from ConfigParser import ConfigParser

import zmq
from vpoller import __version__
from vpoller.agent import VSphereAgent
from vpoller.exceptions import VPollerException
from vconnector.core import VConnectorDatabase
Expand Down Expand Up @@ -80,7 +81,7 @@ def start(self):
Start the vPoller Worker Manager and processes
"""
logging.info('Starting Worker Manager')
logging.info('Starting Worker Manager [%s release]', __version__)

self.load_config()
self.create_sockets()
Expand Down

0 comments on commit 2de8920

Please sign in to comment.