The logging level constants were redefined in 3.0.0 to be one less than in earlier versions.  However it seems the perl library wasn't updated to reflect this.

Attached is a patch to put the debug constants in line with the current values.

Any objections if I push this patch into trunk and 4.1 branch?

Regards,
Torrey