-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> Wouldn't it be more consistent when logging an error instead of a
>> warning when afterwards an exception is thrown?
>>    
> It's not obvious. Sometime, we throw an exception because it's teh way
> to know that something went wrong, but we catch this exception at a
> higher level and go on. Typically, this is what we do when searching
> elements in the schema. The fact that the element is not present is not
> an error, from the server POV, but it is from the user POV. Now, we
> generally log a debug in this case because we don't want the server logs
> to be swamped with errors due to a user trying to get data which does
> not exist.

I see, thanks for explanation. I keep it as is.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuOLmAACgkQ2lZVCB08qHE3igCdE3Tkv+omeZ4e3Q60ZW8ODD9r
Y10An0lT0XIhyOi5/1XuhcR3heZLRD/g
=Tn/4
-----END PGP SIGNATURE-----

Reply via email to