diff options
author | Arne H Juul <arnej27959@users.noreply.github.com> | 2017-12-23 12:12:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-23 12:12:54 +0100 |
commit | 546a5df406aa3ec2a19832f23705ee059b0f8ce0 (patch) | |
tree | 54c97e359a4139993a31f1c53b2177b4137cfcf0 /jdisc_core | |
parent | f6421e73c108f754a375dd289657a12d800587e6 (diff) |
Revert "Log at JDisc process start and stop"
Diffstat (limited to 'jdisc_core')
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java index b0146cd88d3..a78e4f1af40 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/StandaloneMain.java @@ -37,23 +37,20 @@ public class StandaloneMain { void run(String bundleLocation) { try { System.out.println("debug\tInitializing application without privileges."); - log.log(Level.INFO, "JDisc starting with bundle location " + bundleLocation); loader.init(bundleLocation, false); loader.start(); setupSigTermHandler(); waitForShutdown(); System.out.println("debug\tTrying to shutdown in a controlled manner."); - log.log(Level.INFO, "JDisc shutting down"); loader.stop(); System.out.println("debug\tTrying to clean up in a controlled manner."); loader.destroy(); System.out.println("debug\tStopped ok."); - log.log(Level.INFO, "JDisc exiting"); System.exit(0); } catch (Throwable e) { System.out.print("debug\tUnexpected: "); e.printStackTrace(); - log.log(Level.SEVERE, "JDisc exiting: Throwable caught: ", e); + log.log(Level.SEVERE, "Unexpected: ", e); System.exit(6); } } |