InputStream in = null;
Properties props = new Properties();
try {
in = LogMessageLoader.class.getClassLoader().getResourceAsStream(Constants.LOG_MESSAGE_FILE);
props.load(in);
Enumeration<?> keys = props.propertyNames();
while (keys.hasMoreElements()) {
String key = (String) keys.nextElement();
if (key.endsWith(LEVEL_KEY_END)) {
String messageId = LogMessageLoader.getMessageId(key, LEVEL_KEY_END);
manager.putLevel(messageId, props.getProperty(key));