Mailinglist Archive: yast-devel (53 mails)

< Previous Next >
[yast-devel] Added Y2Logger in yast2-ruby-bindings-3.1.7
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Tue, 04 Feb 2014 09:52:38 +0100
  • Message-id: <>

Hi all,

Yesterday I added a new Y2Logger class into yast2-ruby-bindings.

It basically wraps Yast logging builtins (Builtins.y2debug(),
/Builtins.y2milestone(), ...) in a Ruby standard Logger object.

The purpose is to pass it to external libraries which then use the standard Ruby
logging to write into y2log (/var/log/YaST2/y2log).

Currently it is used in the registration module which uses rubygem-scc_api for
communication with SCC server. The scc_api gem then logs into y2log using the
standard Yast format (that's is nice for debugging).



Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages