]> git.sur5r.net Git - openldap/commitdiff
slapi used the old version of the LDAP_LOG macro (caught by Howard)
authorPierangelo Masarati <ando@openldap.org>
Fri, 27 Dec 2002 14:59:01 +0000 (14:59 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 27 Dec 2002 14:59:01 +0000 (14:59 +0000)
servers/slapd/add.c
servers/slapd/backend.c
servers/slapd/bind.c
servers/slapd/compare.c
servers/slapd/delete.c
servers/slapd/modify.c
servers/slapd/modrdn.c
servers/slapd/search.c

index 35a686f09359daa5afd3cdbb1b0e7a894fb33c97..58a99bfa3a409c6795414d778df0eb69c62147b3 100644 (file)
@@ -243,9 +243,11 @@ do_add( Connection *conn, Operation *op )
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_add: add preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_add: add preOps failed\n",
+                               0, 0, 0);
 #else
-               Debug (LDAP_DEBUG_TRACE, " add preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_add: add preOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -346,9 +348,11 @@ do_add( Connection *conn, Operation *op )
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_add: Add postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_add: Add postOps failed\n",
+                               0, 0, 0);
 #else
-               Debug (LDAP_DEBUG_TRACE, " Add postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_add: Add postOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
index fb1272b4b7d05aac0b92709cc11ec0157a575071..3048dd41bb26e3f411aa4fda2d3676fb0f1b91f7 100644 (file)
@@ -710,9 +710,11 @@ backend_unbind(
                         * FIXME: is this correct?
                         */
 #ifdef NEW_LOGGING
-                       LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Unbind preOps failed\n"));
+                       LDAP_LOG( OPERATION, INFO, "do_bind: Unbind preOps "
+                                       "failed\n", 0, 0, 0);
 #else
-                       Debug (LDAP_DEBUG_TRACE, " Unbind preOps failed.\n", 0, 0, 0);
+                       Debug(LDAP_DEBUG_TRACE, "do_bind: Unbind preOps "
+                                       "failed.\n", 0, 0, 0);
 #endif
                }
 #endif /* defined( LDAP_SLAPI ) */
@@ -732,9 +734,11 @@ backend_unbind(
                         * FIXME: is this correct?
                         */
 #ifdef NEW_LOGGING
-                       LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_unbind: Unbind postOps failed\n"));
+                       LDAP_LOG( OPERATION, INFO, "do_unbind: Unbind postOps "
+                                       "failed\n", 0, 0, 0);
 #else
-                       Debug (LDAP_DEBUG_TRACE, " Unbind postOps failed.\n", 0, 0, 0);
+                       Debug(LDAP_DEBUG_TRACE, "do_unbind: Unbind postOps "
+                                       "failed.\n", 0, 0, 0);
 #endif
                }
 #endif /* defined( LDAP_SLAPI ) */
index f5062ba5cf0d7694f01a901e000ebc0e630b5bab..c33f82d78b1ad86108214132753fa6434e25b6c6 100644 (file)
@@ -547,9 +547,11 @@ do_bind(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Bind preOps  failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_bind: Bind preOps failed\n",
+                               0, 0, 0);
 #else
-               Debug(LDAP_DEBUG_TRACE, " Bind preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_bind: Bind preOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -630,9 +632,11 @@ do_bind(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Bind postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_bind: Bind postOps failed\n",
+                               0, 0, 0);
 #else
-               Debug (LDAP_DEBUG_TRACE, " Bind postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_bind: Bind postOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
index ab0546ffc9c2be4c89bb785ed3528001c5547c1f..82c99c2f9a12cfc45b04a1b2a207031fcdd0c8c8 100644 (file)
@@ -290,9 +290,11 @@ do_compare(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_compare: compare preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_compare: compare preOps "
+                               "failed\n", 0, 0, 0);
 #else
-               Debug (LDAP_DEBUG_TRACE, " compare preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_compare: compare preOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -315,9 +317,11 @@ do_compare(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_compare: compare postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_compare: compare postOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " compare postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_compare: compare postOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
index 849a494bc775f6f16ed3a54775a0bbc980f31a78..5584e61a5e80a7fd5e752251680215e5ba20ec15 100644 (file)
@@ -174,9 +174,11 @@ do_delete(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_delete: delete preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_delete: delete preOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " delete preOps failed.\n", 0, 0, 0);
+               Debug (LDAP_DEBUG_TRACE, "do_delete: delete preOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -231,9 +233,11 @@ do_delete(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_delete: delete postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_delete: delete postOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " delete postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_delete: delete postOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
index d024953c7cd3522d2f9a2e8dfc661f118c049c89..f9f377b683613fc7e7e44135bf4bacd1e30f0e75 100644 (file)
@@ -348,9 +348,11 @@ do_modify(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modify: modify preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_modify: modify preOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " modify preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_modify: modify preOps failed.\n",
+                               0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -442,9 +444,11 @@ do_modify(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modify: modify postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_modify: modify postOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " modify postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_modify: modify postOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
index a4dc8010386b1fb1685f59aaf9cd84ed0150462f..5703f3ca06b29dd11b70f86a2ea497ba8453498f 100644 (file)
@@ -349,9 +349,11 @@ do_modrdn(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modrdn: modrdn preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_modrdn: modrdn preOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " modrdn preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_modrdn: modrdn preOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
@@ -412,9 +414,11 @@ do_modrdn(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modrdn: modrdn postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_modrdn: modrdn postOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " modrdn postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_modrdn: modrdn postOps "
+                               "failed.\n", 0, 0, 0);
 #endif
        }
 #endif /* defined( LDAP_SLAPI ) */
index 9f26bcea3542dbba12daa7e9ce2c4f201d582d4d..b50ea8a5d4250eed7d44ea73fa542dcc1ba73700 100644 (file)
@@ -363,9 +363,11 @@ do_search(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_search: search preOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_search: search preOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug(LDAP_DEBUG_TRACE, "search preOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_search: search preOps "
+                               "failed.\n", 0, 0, 0);
 #endif
     }
 #endif /* defined( LDAP_SLAPI ) */
@@ -391,9 +393,11 @@ do_search(
                 * FIXME: is this correct?
                 */
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_search: search postOps failed\n"));
+               LDAP_LOG( OPERATION, INFO, "do_search: search postOps "
+                               "failed\n", 0, 0, 0 );
 #else
-               Debug (LDAP_DEBUG_TRACE, " search postOps failed.\n", 0, 0, 0);
+               Debug(LDAP_DEBUG_TRACE, "do_search: search postOps "
+                               "failed.\n", 0, 0, 0);
 #endif
     }
 #endif /* defined( LDAP_SLAPI ) */