diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-02-28 10:02:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-02-28 10:02:22 +0000 |
commit | 5a310b9262a3e2830fc852d8cdfa3d27ff6322e8 (patch) | |
tree | f11b50a26321aca701ddd8ef44cd6b85ccddc59a /cpp/src/Ice/Service.cpp | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1722, (diff) | |
download | ice-5a310b9262a3e2830fc852d8cdfa3d27ff6322e8.tar.bz2 ice-5a310b9262a3e2830fc852d8cdfa3d27ff6322e8.tar.xz ice-5a310b9262a3e2830fc852d8cdfa3d27ff6322e8.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1722,
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1721,
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1926
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rwxr-xr-x | cpp/src/Ice/Service.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp index a764b81e652..114be889729 100755 --- a/cpp/src/Ice/Service.cpp +++ b/cpp/src/Ice/Service.cpp @@ -228,8 +228,10 @@ public: { const char* str[1]; str[0] = message.c_str(); + // // We ignore any failures from ReportEvent since there isn't // anything we can do about it. + // ReportEvent(_source, EVENTLOG_INFORMATION_TYPE, 0, EVENT_LOGGER_MSG, 0, 1, 0, str, 0); } @@ -246,6 +248,10 @@ public: const char* str[1]; str[0] = s.c_str(); + // + // We ignore any failures from ReportEvent since there isn't + // anything we can do about it. + // ReportEvent(_source, EVENTLOG_INFORMATION_TYPE, 0, EVENT_LOGGER_MSG, 0, 1, 0, str, 0); } @@ -254,6 +260,10 @@ public: { const char* str[1]; str[0] = message.c_str(); + // + // We ignore any failures from ReportEvent since there isn't + // anything we can do about it. + // ReportEvent(_source, EVENTLOG_WARNING_TYPE, 0, EVENT_LOGGER_MSG, 0, 1, 0, str, 0); } @@ -262,6 +272,10 @@ public: { const char* str[1]; str[0] = message.c_str(); + // + // We ignore any failures from ReportEvent since there isn't + // anything we can do about it. + // ReportEvent(_source, EVENTLOG_ERROR_TYPE, 0, EVENT_LOGGER_MSG, 0, 1, 0, str, 0); } @@ -277,7 +291,7 @@ private: mangleService(string name) { // - // The application name cannot contain backslashes. + // The service name cannot contain backslashes. // string::size_type pos = 0; while((pos = name.find('\\', pos)) != string::npos) |