Mgalctc fixing bug in race adding

Fixed bug in adding race method
Migrated to log4j 2