Improved logging - work in progress

Thomas Neumann (FAI) blacky+fai at fluffbunny.de
Thu Mar 7 13:00:59 CET 2013


On Thursday 07 March 2013 12:21:27 Sven Ulland wrote:
> On 03/06/2013 12:09 AM, Thomas Neumann wrote:
>> and you magically gain the ability to write this message to
>> a logfile, to some remote logserver and to the console all in one
>> step.
 
> Have you given progress reporting any thought?

Nope. 

> This type of logging to a remote syslog server can be used to
> implement a simple progress meter, for example by having the
> syslog server match certain messages (such as those messages
> that indicate the next step in the installation sequence),
> or even errors.

There is or was some kind of monitoring tool available which
interacts with fai-mond. This ~may~ already provide what you're
looking for. I'm aware it exists, but I have never felt the need
to use it.

[...]
> So with extended logging capabilities like this, you get the progress
> reporting possibility for free (with some work on the syslog server
> side), but it could be that the idea should be expanded upon even
> more.

Is this useful to you?
http://search.cpan.org/~mschilli/Log-Log4perl-1.40/lib/Log/Log4perl/Appender/DBI.pm

bye
thomas


More information about the linux-fai mailing list