A library should not configure logging handlers.  I would revert this.