updated mysql logging and feeder rule