Mailinglist Archive: yast-devel (73 mails)

< Previous Next >
[yast-devel] use ALog::Item
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Wed, 6 Aug 2008 16:29:00 +0200
  • Message-id: <20080806142859.GA10727@xxxxxxxxxxxxxxxx>
Dear hackers,

you are all admins of your own workstations, I believe.
Have you ever wondered what YaST did to your system? Or even what
*you* did to your system a week or a month ago?

Please have a look at your y2log now:
sudo less /var/log/YaST2/y2log
The information is (mostly) there, but it is buried in piles and
heaps of debugging information.

So yes, as if you did not have enough features to implement already,
I am asking you for more. But the users will love it.

Please take one (or all) of your modules and put in log messages
using the API below. Presumably they are already there, using

ALog stands for Admin's log, to remind you who the reader is.

ALog::Item("/etc/ntp.conf: added 'server'")
ALog::Item("enabled /etd/init.d/ntp")
ALog::Item("started /etd/init.d/ntp")

will lead to ALog::Note("set up ntp from local server")

A prototype is in SVN already:

The interface is not set in stone (yet). Please comment and let's
find a design that is useful and easy to use.

Open questions:

- actual log format


- related log in zypp:

Martin Vidner, YaST developer

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups