summaryrefslogtreecommitdiff
path: root/TAO/examples/Logging/Logging_Service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Logging/Logging_Service.cpp')
-rw-r--r--TAO/examples/Logging/Logging_Service.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/TAO/examples/Logging/Logging_Service.cpp b/TAO/examples/Logging/Logging_Service.cpp
deleted file mode 100644
index 31e512ea1b2..00000000000
--- a/TAO/examples/Logging/Logging_Service.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// $Id$
-
-#include "Logging_Service_i.h"
-
-ACE_RCSID(Logging_Service, Logging_Service, "$Id$")
-
-int
-main (int argc, char *argv[])
-{
- // Set TAO_debug_level to 0 to ensure silent running unless
- // debugging is explicitly invoked
- TAO_debug_level = 0;
-
- Logger_Server log_server;
-
- ACE_DECLARE_NEW_CORBA_ENV;
- ACE_TRY
- {
- if (log_server.init (argc, argv, ACE_TRY_ENV) == -1)
- return 1;
- else
- {
- log_server.run (ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- }
- ACE_CATCH (CORBA::SystemException, sysex)
- {
- ACE_PRINT_EXCEPTION (sysex, "System Exception");
- return -1;
- }
- ACE_CATCH (CORBA::UserException, userex)
- {
- ACE_PRINT_EXCEPTION (userex, "User Exception");
- return -1;
- }
- ACE_ENDTRY;
-
- return 0;
-}