Commits

Anonymous committed 527dcbe

add version to startup notice

  • Participants
  • Parent commits cb5bda1

Comments (0)

Files changed (1)

 import sys, os, signal, pwd, grp, optparse
 import socket, time, logging, threading, traceback
 
-from rac import DEFAULT_CONFIG_FILE
+from rac import DEFAULT_CONFIG_FILE, __version__
 from rac.dhandler import handle
 from rac.util import attrdict, ShortExcLogger, LoggerWrapper
 
         sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
         sock.bind(racd.config.socket)
         os.chmod(racd.config.socket, 0666)
-        racd.log.info('racd started, socket %r created', racd.config.socket)
+        racd.log.info('racd v%s started, socket %r created', __version__,
+                      racd.config.socket)
         sock.listen(5)
         req = 0
         while 1: