Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Improve messages logging for slave nodes(This would help when diagnosing node disconnections.)
icon3.gif  Improve messages logging for slave nodes [message #1383935] Tue, 27 May 2014 09:34 Go to next message
Lukasz Jader is currently offline Lukasz Jader
Messages: 35
Registered: October 2013
Member
Hi,

I have 2 extremly usefull, yet simple ideas for improvments in logging messages for slaves:

1. Hold at least one previous log file for slave
2. Include timestamp when logging messages in slave logs

Ad.1.
Currently if slave node disconnected for some reason, there is no way to diagnose why and when this occured, since old logs are lost - log file is wiped out.

Previous slave logs would help when diagnosing node disconnections.
This could be used as starting point for implementation:
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/util/io/ReopenableRotatingFileOutputStream.java


Ad.2.
This should be added to all types of slave connections, ex. SSH, JNLP an so on.

Having this would make whole CI master-slaves infastructure based on Hudson more reliable and much easier to diagnose.
If for example slave is for some reason disconnecting at some fixed point in time, ex. at midnight there will be exact time of disconnection.
Re: Improve messages logging for slave nodes [message #1385230 is a reply to message #1383935] Thu, 05 June 2014 05:28 Go to previous messageGo to next message
Winston Prakash is currently offline Winston Prakash
Messages: 426
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Hi Lukaz, did you create an enhancement request in the bugzilla?

Winston Prakash
Eclipse Hudson team
Re: Improve messages logging for slave nodes [message #1385231 is a reply to message #1385230] Thu, 05 June 2014 05:38 Go to previous messageGo to next message
Lukasz Jader is currently offline Lukasz Jader
Messages: 35
Registered: October 2013
Member
Yes, i've forgot to link it; here it is:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=435876
Re: Improve messages logging for slave nodes [message #1387942 is a reply to message #1385231] Wed, 25 June 2014 20:26 Go to previous message
Winston Prakash is currently offline Winston Prakash
Messages: 426
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Pushed a fix for Hudson 3.2.0

Winston Prakash
Eclipse Hudson team
Previous Topic:Hudson/Ant issue with Websphere Application Server 7
Next Topic:Linux Server and Windows Slave
Goto Forum:
  


Current Time: Fri Oct 24 16:58:38 GMT 2014

Powered by FUDForum. Page generated in 0.06280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software