Changeset 444 in tmcsimulator for trunk/src/python/unifiedlogger/__main__.py


Ignore:
Timestamp:
07/14/2019 10:38:30 AM (7 years ago)
Author:
jdalbey
Message:

Update unified logger to add revision number to startup message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/__main__.py

    r439 r444  
    1 import logging_service, os 
     1import logging_service, os, get_app_properties 
    22# This main module is provided so the application can be conveniently bundled for deployment 
    33def main(): 
    4     print "Unified Logging Service starting from ",os.getcwd() 
     4    revNum = get_app_properties.getRevision() 
     5    print "Unified Logging Service v"+revNum,"starting from ",os.getcwd() 
    56    logging_service.startup() 
    67 
Note: See TracChangeset for help on using the changeset viewer.