Added DBLOGGING_LOG_EXPIRY_SECONDS setting

To automatically cleanup old entries