[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.

Colin Guthrie mageia at colin.guthr.ie
Mon Nov 12 13:14:34 CET 2012


'Twas brillig, and Angelo Naselli at 12/11/12 12:09 did gyre and gimble:
>> It's very easy to use the journal APIs (either by linking the
>> library, using python bindings - not sure if there are external
>> perl bindings yet, but I wouldn't be surprised if there are - or
>> simply calling journalctl on the command line and parsing the
>> result. It offers an easy to parse JSON format so even going via
>> this route should be trivial if official bindings do not exist).
>> You can get all logs between certain dates and for particular
>> services with ease, without having to look in the right file or
>> grep for the right binary. i.e. all the building blocks are in
>> place for you :)
> I read your comment in draklog bug, i have taken a note and i will
> ask you to explain it better to me, since i'm not very familiar with
> all this stuff.
> 
> About binding, well libyui allows also to use python and ruby,
> so rewriting my rubbish - quoting Steven :p - to re-implementing
> another rubbish in python it could be possible and easy :D
> 
> Anyway, Col ehm you could help in this project...
> ...we will be very happy :D

Time is not on my side at present, but I'll do my best to advise and
help out when I can. Minimal hacking may occur but I'm afraid I can't
really promise anything at this stage.

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list