Results 1 to 4 of 4

Thread: KDE - Akonadi fsck - 542 systemd Journal entries - despite kdebugsettings being used.

  1. #1
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,545

    Question KDE - Akonadi fsck - 542 systemd Journal entries - despite kdebugsettings being used.

    KDE – Akonadi fsck – all the KDE/Qt debug settings set to “Off” by means of “kdebugsettings” «RPM package has the same name: “kdebugsettings”»:
    • 542 entries as follows in the systemd Journal:

    Code:
    Aug 06 12:44:49 xxx akonadiserver[2921]: org.kde.pim.akonadiserver.search: Executing search "StorageJanitor"
    Aug 06 12:44:49 xxx akonadiserver[2921]: org.kde.pim.akonadiserver.search: Search  "StorageJanitor" done (without remote search)
    • Nothing in ~/.local/share/sddm/xorg-session.log


    Any ideas?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,841
    Blog Entries
    14

    Default Re: KDE - Akonadi fsck - 542 systemd Journal entries - despite kdebugsettings being used.

    These are not debug messages, rather log lines from the akonadi server. Had a quick search, but couldn't find any option to avoid akonadiserver to write those lines to the journal.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,545

    Red face Re: KDE - Akonadi fsck - 542 systemd Journal entries - despite kdebugsettings being used.

    Quote Originally Posted by Knurpht View Post
    Had a quick search, but couldn't find any option to avoid akonadiserver to write those lines to the journal.
    My mistake:
    • After using “kdebugsettings” to setup the debug settings, you have to logout and then log back in to enable the KDE Debug settings …

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,545

    Talking Re: KDE - Akonadi fsck - 542 systemd Journal entries - despite kdebugsettings being used.

    This post was caused by the creation of the following shell script which, is intended to be called at the KDE Plasma login –
    • Unfortunately, currently, the Akonadi database needs some occasional housekeeping if KMail is to perform as it should do …

    Code:
    #!/bin/bash
    #
    # Akonadi fsck - 1st, check that Akonadi is running.
    #
    # Wait until Akonadi Control is running.
    until [[ $( /bin/pidof /usr/bin/akonadi_control ) ]]
    do
      echo "Waiting for Akonadi Control"
      sleep 10s
    done
    #
    # Wait unti the Akonadi Server is running.
    until [[ $( /bin/pidof /usr/bin/akonadiserver ) ]]
    do
      echo "Waiting for Akonadi Server"
      sleep 10s
    done
    #
    if [[ -f ~/.local/share/akonadi/dateLastChecked ]]
    then
      declare -i AkonadiFsckLastDate
      AkonadiFsckLastDate="$(/usr/bin/cat ~/.local/share/akonadi/dateLastChecked)"
      declare -i FiveDaysAgo
      FiveDaysAgo="$(/usr/bin/date --date='5 days ago' +%Y%m%d)"
      if (( $AkonadiFsckLastDate < $FiveDaysAgo ))
      then
        echo "Akonadi fsck start"
        /usr/bin/logger "Akonadi fsck start"
        # Akonadi internal storage consistency check
        /usr/bin/akonadictl fsck
        /usr/bin/date +%Y%m%d > ~/.local/share/akonadi/dateLastChecked
        echo "Akonadi fsck completed"
        /usr/bin/logger "Akonadi fsck completed"
        #
        # Akonadi internal storage vacuum
        if [[ -f ~/.local/share/akonadi/dateLastVacuumed ]]
        then
          declare -i AkonadiVacuumLastDate
          AkonadiVacuumLastDate="$(/usr/bin/cat ~/.local/share/akonadi/dateLastVacuumed)"
          declare -i ThirtyDaysAgo
          ThirtyDaysAgo="$(/usr/bin/date --date='30 days ago' +%Y%m%d)"
          if (( $AkonadiVacuumLastDate < $ThirtyDaysAgo ))
          then
            echo "Akonadi vacuum start"
            /usr/bin/logger "Akonadi vacuum start"
            /usr/bin/akonadictl vacuum
            /usr/bin/date +%Y%m%d > ~/.local/share/akonadi/dateLastVacuumed
            echo "Akonadi vacuum completed"
            /usr/bin/logger "Akonadi vacuum completed"
            echo "Akonadi fsck start"
            /usr/bin/logger "Akonadi fsck start"
            /usr/bin/akonadictl fsck
            echo "Akonadi fsck completed"
            /usr/bin/logger "Akonadi fsck completed"
          fi
        else
          /usr/bin/date +%Y%m%d > ~/.local/share/akonadi/dateLastVacuumed
        fi
      else
        echo "Last Akonadi fsck was less than 5 days ago"
      fi
    else
      echo "Akonadi fsck start"
      /usr/bin/logger "Akonadi fsck start"
      # Akonadi consistency check
      /usr/bin/akonadictl fsck
      /usr/bin/date +%Y%m%d > ~/.local/share/akonadi/dateLastChecked
      echo "Akonadi fsck completed"
      /usr/bin/logger "Akonadi fsck completed"
    fi
    #

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •