Page 1 of 1

[ WARN] 13:24:43 RuntimeEnvironmentPropertiesConfigurer - Un

Posted: Sun Dec 23, 2012 2:07 pm
by mota_nginya
I am getting this "[ WARN] 13:24:43 RuntimeEnvironmentPropertiesConfigurer - Unable to determine runtime environment, using default environment 'development'" a whole lot in my logs when using the demo. I am using version 2.2-SNAPSHOT. Is there a way I can actually fix this so that this does not show in my logs?

Re: [ WARN] 13:24:43 RuntimeEnvironmentPropertiesConfigurer - Un

Posted: Sun Dec 23, 2012 7:18 pm
by phillipuniverse
You could modify you log4j.xml file and change the log level of org.broadleafcommerce.common.config.RuntimeEnvironmentPropertiesConfigurer to just 'error'. This would remove the warnings from your log.

FYI, all of those logging statements don't appear in production and I really just occur when you're running with JRebel (from what I've seen anyway). It has to do with how JRebel tries to monitor properties files.

Re: [ WARN] 13:24:43 RuntimeEnvironmentPropertiesConfigurer - Un

Posted: Sun Dec 23, 2012 8:01 pm
by mota_nginya
Thanks a million for your quick response. I appreciate your help...