Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Luigi Toscano
On Wednesday 15 of April 2015 14:49:16 Ragnar Thomsen wrote:
 Hey all,
 
 I have started development of a log viewer for journald, which I have
 tentatively called Journalktl. Currently, it is pretty basic but shows
 date/time, unit name and log message. It allows for showing journal
 entries based on boot ID, searching in messages and unit names, and
 filtering log messages based on priority.
 
 Journalktl can be found here:
 git://anongit.kde.org/scratch/rthomsen/journalktl.git
 
 Please give it a try, and let me know what you think :)

Did you consider extending ksystemlog? A unified interface would be nice, I 
think, if it's possible.

Ciao
-- 
Luigi


 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Aleix Pol
On Wed, Apr 15, 2015 at 2:49 PM, Ragnar Thomsen rthoms...@gmail.com wrote:
 Hey all,

 I have started development of a log viewer for journald, which I have
 tentatively called Journalktl. Currently, it is pretty basic but shows
 date/time, unit name and log message. It allows for showing journal
 entries based on boot ID, searching in messages and unit names, and
 filtering log messages based on priority.

 Journalktl can be found here:
 git://anongit.kde.org/scratch/rthomsen/journalktl.git

 Please give it a try, and let me know what you think :)

 B.R.
 Ragnar

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 

I just tried it, I got this error... ^^'
kde-devel@oliver:~/playground/journalktl/build (master)$ ./src/journalktl
journalktl(29790)/(kf5.kiconthemes)
KIconLoaderPrivate::initIconThemes: Theme tree: (Breeze)
journalktl(29790)/(default) qt_assert: ASSERT: last = first in file
/home/kde-devel/frameworks/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp,
line 2603
Aborted (core dumped)

Good luck anyway! Looking forward to better integration with journald.
Aleix

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Ragnar Thomsen
 I just tried it, I got this error... ^^'
 kde-devel@oliver:~/playground/journalktl/build (master)$ ./src/journalktl
 journalktl(29790)/(kf5.kiconthemes)
 KIconLoaderPrivate::initIconThemes: Theme tree: (Breeze)
 journalktl(29790)/(default) qt_assert: ASSERT: last = first in file
 /home/kde-devel/frameworks/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp,
 line 2603
 Aborted (core dumped)

Thanks for testing. Do you have access to the system journal? I.e. is
your user member of the systemd-journal group?

B.R.
Ragnar

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Ragnar Thomsen
On Wed, Apr 15, 2015 at 3:01 PM, Aleix Pol aleix...@kde.org wrote:
 I just tried it, I got this error... ^^'
 kde-devel@oliver:~/playground/journalktl/build (master)$ ./src/journalktl
 journalktl(29790)/(kf5.kiconthemes)
 KIconLoaderPrivate::initIconThemes: Theme tree: (Breeze)
 journalktl(29790)/(default) qt_assert: ASSERT: last = first in file
 /home/kde-devel/frameworks/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp,
 line 2603
 Aborted (core dumped)

I just committed a potential fix. Can you give it a go again with
current master?

B.R.
Ragnar

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Aleix Pol
On Wed, Apr 15, 2015 at 4:44 PM, Ragnar Thomsen rthoms...@gmail.com wrote:
 On Wed, Apr 15, 2015 at 3:01 PM, Aleix Pol aleix...@kde.org wrote:
 I just tried it, I got this error... ^^'
 kde-devel@oliver:~/playground/journalktl/build (master)$ ./src/journalktl
 journalktl(29790)/(kf5.kiconthemes)
 KIconLoaderPrivate::initIconThemes: Theme tree: (Breeze)
 journalktl(29790)/(default) qt_assert: ASSERT: last = first in file
 /home/kde-devel/frameworks/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp,
 line 2603
 Aborted (core dumped)

 I just committed a potential fix. Can you give it a go again with
 current master?

It worked now. Interesting stuff indeed!

Aleix

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread David Edmundson
On Wed, Apr 15, 2015 at 10:18 PM, Albert Astals Cid aa...@kde.org wrote:

 El Dimecres, 15 d'abril de 2015, a les 15:09:03, Luigi Toscano va escriure:
  On Wednesday 15 of April 2015 14:49:16 Ragnar Thomsen wrote:
   Hey all,
  
   I have started development of a log viewer for journald, which I have
   tentatively called Journalktl. Currently, it is pretty basic but shows
   date/time, unit name and log message. It allows for showing journal
   entries based on boot ID, searching in messages and unit names, and
   filtering log messages based on priority.
  
   Journalktl can be found here:
   git://anongit.kde.org/scratch/rthomsen/journalktl.git
  
   Please give it a try, and let me know what you think :)
 
  Did you consider extending ksystemlog? A unified interface would be
 nice, I
  think, if it's possible.

 +1


or just replace it.
It hasn't been touched since 2009 beyond test fixes and scripty.




 
  Ciao
 
   Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
 unsubscribe
   


  Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
 unsubscribe 


 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Luigi Toscano
David Edmundson ha scritto:
 
 
 On Wed, Apr 15, 2015 at 10:18 PM, Albert Astals Cid aa...@kde.org
 mailto:aa...@kde.org wrote:
 
 El Dimecres, 15 d'abril de 2015, a les 15:09:03, Luigi Toscano va 
 escriure:
  On Wednesday 15 of April 2015 14:49:16 Ragnar Thomsen wrote:
   Hey all,
  
   I have started development of a log viewer for journald, which I have
   tentatively called Journalktl. Currently, it is pretty basic but shows
   date/time, unit name and log message. It allows for showing journal
   entries based on boot ID, searching in messages and unit names, and
   filtering log messages based on priority.
  
   Journalktl can be found here:
   git://anongit.kde.org/scratch/rthomsen/journalktl.git
 http://anongit.kde.org/scratch/rthomsen/journalktl.git
  
   Please give it a try, and let me know what you think :)
 
  Did you consider extending ksystemlog? A unified interface would be 
 nice, I
  think, if it's possible.
 
 +1
 
  
 or just replace it.
 It hasn't been touched since 2009 beyond test fixes and scripty.

As long as the new program allows access to the text-based log files, sure.
For sure they are not going to disappear in every scenario, accessing them is
still useful.

Ciao
-- 
Luigi

 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Albert Astals Cid
El Dimecres, 15 d'abril de 2015, a les 22:34:37, David Edmundson va escriure:
 On Wed, Apr 15, 2015 at 10:18 PM, Albert Astals Cid aa...@kde.org wrote:
  El Dimecres, 15 d'abril de 2015, a les 15:09:03, Luigi Toscano va 
escriure:
   On Wednesday 15 of April 2015 14:49:16 Ragnar Thomsen wrote:
Hey all,

I have started development of a log viewer for journald, which I have
tentatively called Journalktl. Currently, it is pretty basic but shows
date/time, unit name and log message. It allows for showing journal
entries based on boot ID, searching in messages and unit names, and
filtering log messages based on priority.

Journalktl can be found here:
git://anongit.kde.org/scratch/rthomsen/journalktl.git

Please give it a try, and let me know what you think :)
   
   Did you consider extending ksystemlog? A unified interface would be
  
  nice, I
  
   think, if it's possible.
  
  +1
 
 or just replace it.
 It hasn't been touched since 2009 beyond test fixes and scripty.

Why would you replace something that does lots of stuff with something that 
just understands journald?

Cheers,
  Albert

 
   Ciao
   
Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
  
  unsubscribe
  

   
   Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
  
  unsubscribe 


 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe 


Re: Journalktl: A new journald log viewer for KDE

2015-04-15 Thread Albert Astals Cid
El Dimecres, 15 d'abril de 2015, a les 15:09:03, Luigi Toscano va escriure:
 On Wednesday 15 of April 2015 14:49:16 Ragnar Thomsen wrote:
  Hey all,
  
  I have started development of a log viewer for journald, which I have
  tentatively called Journalktl. Currently, it is pretty basic but shows
  date/time, unit name and log message. It allows for showing journal
  entries based on boot ID, searching in messages and unit names, and
  filtering log messages based on priority.
  
  Journalktl can be found here:
  git://anongit.kde.org/scratch/rthomsen/journalktl.git
  
  Please give it a try, and let me know what you think :)
 
 Did you consider extending ksystemlog? A unified interface would be nice, I
 think, if it's possible.

+1

 
 Ciao
 
  Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
  


 Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe