詹金斯随机崩溃

时间:2012-11-05 11:53:59

标签: jenkins

我的jenkins-server随机崩溃,因此我确保拥有最新版本并检查日志,但它们并没有向我提供有用的信息。我的问题是:如何调试这些崩溃?有没有办法增加loglevel?

这是我的日志输出:

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

对我有任何暗示吗?

1 个答案:

答案 0 :(得分:0)

要提高Jenkins本身的日志级别,请在通过命令行启动Jenkins时使用以下参数:

-Djava.util.logging.loglevel=FINE

这应该会改变Jenkins GUI中显示的日志记录