]> arthur.barton.de Git - netatalk.git/blobdiff - etc/cnid_dbd/cmd_dbd.c
Change loglevel and add a few debug log statements
[netatalk.git] / etc / cnid_dbd / cmd_dbd.c
index 39b15736b1b41fb6ededc4a14f95865babf9ed03..8f8b734216fb2a9413d1ffde668d2ff5fb40b5f1 100644 (file)
@@ -342,6 +342,7 @@ int main(int argc, char **argv)
     if ((db_locked = get_lock(LOCK_EXCL, dbpath)) == -1)
         goto exit_noenv;
     if (db_locked != LOCK_EXCL) {
+        dbd_log(LOGDEBUG, "Database is in use, acquiring shared lock");
         /* Couldn't get exclusive lock, try shared lock if -e wasn't requested */
         if (exclusive) {
             dbd_log(LOGSTD, "Database is in use and exlusive was requested");