| Revision 444,
340 bytes
checked in by jdalbey, 7 years ago
(diff) |
|
Update unified logger to add revision number to startup message.
|
| Line | |
|---|
| 1 | import logging_service, os, get_app_properties |
|---|
| 2 | # This main module is provided so the application can be conveniently bundled for deployment |
|---|
| 3 | def main(): |
|---|
| 4 | revNum = get_app_properties.getRevision() |
|---|
| 5 | print "Unified Logging Service v"+revNum,"starting from ",os.getcwd() |
|---|
| 6 | logging_service.startup() |
|---|
| 7 | |
|---|
| 8 | if __name__ == '__main__': |
|---|
| 9 | main() |
|---|
Note: See
TracBrowser
for help on using the repository browser.