Bug 202600

Summary: akonadiconsole should show akonadi stdout/stderr output
Product: [Frameworks and Libraries] Akonadi Reporter: Dennis Schridde <heri+kde>
Component: akonadiconsoleAssignee: Volker Krause <vkrause>
Status: RESOLVED FIXED    
Severity: wishlist CC: dvratil
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dennis Schridde 2009-08-05 12:22:16 UTC
Version:           akonadi-server 1.2.0 (using KDE 4.3.0)
Compiler:          gcc 4.4.1 Gentoo 4.4.1 p1.0
OS:                Linux
Installed from:    Gentoo Packages

Several informative and error messages are only output to stdout/stderr of the Akonadi process (the one spawned by "akonadictl start") and are thus only visible on the terminal where you started Akonadi.

Among these are important messages, like:
* [akonadiserver] Error during insertion into table "CollectionTable" "Duplicate entry '8246199088285969247-7594301998597103899' for key 2 QMYSQL3: Unable to execute statement"
* Agent instance with identifier  "akonadi_imap_resource_0"  does not exist
* messages about database (re)creation and similar.

As I think these messages can be very important for debugging certain Akonadi issues, I think that they should be shown in akonadiconsole. Major reason for this is that akonadi gets (re)started by processes which have no visible terminal (akonadiconsole included), which will mean that error messages are lost, or it is at least hard to reliable get all of them.
Comment 1 Daniel Vrátil 2018-08-27 21:47:06 UTC
This got implemented in Applications 18.08 with the remote debugging feature. Only took 9 years :-)