Fixed loggertodb configuration bug