Moments of logarithmic derivatives of L-functions