Use couch_log instead of ?LOG_*
diff --git a/src/cassim_security.erl b/src/cassim_security.erl
index f000f01..c427758 100644
--- a/src/cassim_security.erl
+++ b/src/cassim_security.erl
@@ -163,7 +163,9 @@
             WithAdminRoles -> % same list, not an reader role
                 case ReaderNames -- [Name] of
                 ReaderNames -> % same names, not a reader
-                    ?LOG_DEBUG("Not a reader: UserCtx ~p vs Names ~p Roles ~p",[UserCtx, ReaderNames, WithAdminRoles]),
+                    couch_log:debug("Not a reader: UserCtx ~p "
+                                    " vs Names ~p Roles ~p",
+                                    [UserCtx, ReaderNames, WithAdminRoles]),
                     throw({unauthorized, <<"You are not authorized to access this db.">>});
                 _ ->
                     ok