added lager warning log
fixed syntax in main.config