diff options
Diffstat (limited to 'src/wakeup-timer-mainloop.cpp')
-rw-r--r-- | src/wakeup-timer-mainloop.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wakeup-timer-mainloop.cpp b/src/wakeup-timer-mainloop.cpp index 53dd684..dfef037 100644 --- a/src/wakeup-timer-mainloop.cpp +++ b/src/wakeup-timer-mainloop.cpp @@ -64,9 +64,10 @@ private: const auto now = m_clock->localtime(); const auto difference_usec = g_date_time_difference(m_wakeup_time.get(), now.get()); const guint interval_msec = (guint)difference_usec / 1000u; - g_message("setting wakeup timer to kick at %s, which is in %zu seconds", - m_wakeup_time.format("%F %T").c_str(), - size_t{interval_msec/1000}); + g_debug("%s setting wakeup timer to kick at %s, which is in %zu seconds", + G_STRFUNC, + m_wakeup_time.format("%F %T").c_str(), + size_t{interval_msec/1000}); m_timeout_tag = g_timeout_add_full(G_PRIORITY_HIGH, interval_msec, @@ -77,7 +78,7 @@ private: static gboolean on_timeout(gpointer gself) { - g_message("%s %s", G_STRLOC, G_STRFUNC); + g_debug("%s %s", G_STRLOC, G_STRFUNC); static_cast<Impl*>(gself)->on_timeout(); return G_SOURCE_REMOVE; } |