[digikam] [Bug 372433] New: Reduce debug messages from databaseserver with internal mysql

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 372433] New: Reduce debug messages from databaseserver with internal mysql

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372433

            Bug ID: 372433
           Summary: Reduce debug messages from databaseserver with
                    internal mysql
           Product: digikam
           Version: 5.3.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Database-Mysql
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Created attachment 102208
  --> https://bugs.kde.org/attachment.cgi?id=102208&action=edit
reduce logging with internal mysql

Every second the following is printed to the console when running with internal
mysql backend:

    digikam.databaseserver: Waiting 1 seconds...

This pollutes stdout a lot and makes it difficult to track important messages.
This patch reduces this messages gradually to one message per minute.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 372433] Reduce debug messages from databaseserver with internal mysql

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372433

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Maik Qualmann <[hidden email]> ---
Increasing the wait time is not good. DigiKam now needs 60 seconds in the worst
case until it finishes completely.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 372433] Reduce debug messages from databaseserver with internal mysql

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372433

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from [hidden email] ---
Typically, "digikam.databaseserver: Waiting 1 seconds..." is wrapped by
qCDebug(namespace) macro, where namepace is a debug space ID which can be
disable at run time. But for the moment, i don't find a simpler way to do it,
as we can do with 4.x release through kdebugdialog (which of course do not work
with 5.x now).

http://doc.qt.io/qt-5/qloggingcategory.html

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 372433] Reduce debug messages from databaseserver with internal mysql

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372433

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.4.0
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/48d3f2c983864d4487c4668
                   |                            |442ff105e8610c571

--- Comment #3 from Maik Qualmann <[hidden email]> ---
Git commit 48d3f2c983864d4487c4668442ff105e8610c571 by Maik Qualmann.
Committed on 13/11/2016 at 20:28.
Pushed by mqualmann into branch 'master'.

print running time message all 30 seconds from internal MySQL server
FIXED-IN: 5.4.0

M  +2    -1    NEWS
M  +11   -2    libs/database/server/databaseserver.cpp

http://commits.kde.org/digikam/48d3f2c983864d4487c4668442ff105e8610c571

--
You are receiving this mail because:
You are the assignee for the bug.