Pertanyaan Jenkins secara acak crash


jenkins-server saya secara acak mogok, jadi saya memastikan untuk memiliki versi terbaru dan memeriksa log, tetapi mereka tidak memberikan saya informasi yang berguna. Pertanyaan saya adalah: Bagaimana cara men-debug crash ini? Apakah ada cara meningkatkan loglevel?

Berikut ini log-output saya:

Running

 from: /usr/share/jenkins/jenkins.war
Nov 5, 2012 12:42:33 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Nov 5, 2012 12:42:35 PM winstone.Logger logInternal
INFO: HTTP Listener started: port=8080
Nov 5, 2012 12:42:35 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
Nov 5, 2012 12:42:36 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Nov 5, 2012 12:42:36 PM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin cvs.jpi is disabled
Nov 5, 2012 12:42:36 PM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin translation.jpi is disabled
Nov 5, 2012 12:42:36 PM hudson.ClassicPluginStrategy createPluginWrapper
INFO: Plugin subversion.jpi is disabled
Nov 5, 2012 12:42:36 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Nov 5, 2012 12:42:36 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Nov 5, 2012 12:42:36 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Nov 5, 2012 12:42:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Nov 5, 2012 12:42:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Nov 5, 2012 12:42:41 PM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
INFO: Trying to register BouncyCastle as a JCE provider
Nov 5, 2012 12:42:41 PM org.apache.sshd.common.util.SecurityUtils$BouncyCastleRegistration run
INFO: Registration succeeded
Nov 5, 2012 12:42:42 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 52235
Nov 5, 2012 12:42:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Nov 5, 2012 12:42:43 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@271a2576: display name [Root WebApplicationContext]; startup date [Mon Nov 05 12:42:43 CET 2012]; root of context hierarchy
Nov 5, 2012 12:42:43 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@271a2576]: org.springframework.beans.factory.support.DefaultListableBeanFactory@28ce41cc
Nov 5, 2012 12:42:43 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@28ce41cc: defining beans [authenticationManager]; root of factory hierarchy
Nov 5, 2012 12:42:44 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@654481bb: display name [Root WebApplicationContext]; startup date [Mon Nov 05 12:42:44 CET 2012]; root of context hierarchy
Nov 5, 2012 12:42:44 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@654481bb]: org.springframework.beans.factory.support.DefaultListableBeanFactory@20e1ed5b
Nov 5, 2012 12:42:44 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@20e1ed5b: defining beans [filter,legacy]; root of factory hierarchy
Nov 5, 2012 12:42:44 PM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 52602
Nov 5, 2012 12:42:44 PM hudson.WebAppMain$2 run
INFO: Jenkins is fully up and running

Ada petunjuk untuk saya?


6
2017-11-05 11:53


asal


Jawaban:


Untuk meningkatkan tingkat log Jenkins sendiri, gunakan parameter berikut ketika memulai Jenkins melalui baris perintah:

-Djava.util.logging.loglevel=FINE

Ini harus mengubah penebangan seperti yang ditampilkan di Jenkins GUI.


0
2018-06-01 16:16