Changeset 117:6bbf97ddbe16
- Timestamp:
- 11/08/08 02:47:03 (3 years ago)
- Author:
- chris
- Branch:
- unix
- Message:
-
move another log statement to after the logger initialization
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r116
|
r117
|
|
| 62 | 62 | if(os.path.exists(self.__log_config_file)): |
| 63 | 63 | logging.config.fileConfig(self.__log_config_file) |
| 64 | | self.log.debug("Using logging configuration file %s" % self.__log_config_file) |
| 65 | 64 | else: |
| 66 | 65 | print("Log configuration file [%s] not found" % self.__log_config_file) |
| … |
… |
|
| 70 | 69 | |
| 71 | 70 | self.log = logging.getLogger('Config') |
| | 71 | self.log.debug("Using logging configuration file %s" % self.__log_config_file) |
| 72 | 72 | |
| 73 | 73 | if(config_file): |
-
|
r116
|
r117
|
|
| 2 | 2 | |
| 3 | 3 | """ |
| 4 | | StormXmlSiren |
| 5 | | Copyright (C) 2008 Chris Freeze <cfreeze/cfreeze_com\> |
| | 4 | StormSiren |
| | 5 | Copyright (C) 2008 Chris Freeze <cfreeze/cfreeze_com\> |
| 6 | 6 | |
| 7 | 7 | Redistribution and use in source and binary forms, with or without |
| … |
… |
|
| 10 | 10 | |
| 11 | 11 | 1. Redistributions of source code must retain the above copyright |
| 12 | | notice, this list of conditions and the following disclaimer. |
| | 12 | notice, this list of conditions and the following disclaimer. |
| 13 | 13 | 2. Redistributions in binary form must reproduce the above copyright |
| 14 | | notice, this list of conditions and the following disclaimer in the |
| 15 | | documentation and/or other materials provided with the distribution. |
| | 14 | notice, this list of conditions and the following disclaimer in the |
| | 15 | documentation and/or other materials provided with the distribution. |
| 16 | 16 | |
| 17 | 17 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| … |
… |
|
| 28 | 28 | |
| 29 | 29 | """ |
| 30 | | This is StormXmlSiren a program inspired by the StormSiren application |
| 31 | | written by Roy McManus <slorf/users_sourceforge_net>. Much like the |
| 32 | | original StormSiren, StormXmlSiren is a simple script capable of scanning |
| 33 | | and providing notifications of weather bulletins issued by the National |
| 34 | | Weather Service. StormXmlSiren supports a wide range of paging devices |
| 35 | | and filtering of alert types per alert device. While inspired by |
| 36 | | StormSiren, StormXmlSiren is a complete rewrite that is capable of using |
| | 30 | This is StormSiren a program inspired by the StormSiren application |
| | 31 | written by Roy McManus <slorf/users_sourceforge_net>. Much like the |
| | 32 | original StormSiren written by Roy McManus <slorf/users_sourceforge_net>, |
| | 33 | this program is a simple script capable of scanning and providing |
| | 34 | notifications of weather bulletins issued by the National |
| | 35 | Weather Service. StormSiren supports a wide range of paging devices |
| | 36 | and filtering of alert types per alert device. While inspired by |
| | 37 | StormSiren, StormSiren is a complete rewrite that is capable of using |
| 37 | 38 | the new CAP/XML feeds provided at http://www.weather.gov/alerts/. |
| 38 | 39 | |
| 39 | | For more information there is a readme.txt located within the docs dir. |
| | 40 | For more information there is see the README.TXT file located in the root |
| | 41 | of this directory. |
| 40 | 42 | """ |
| 41 | 43 | |