Skip to content

Commit

Permalink
logging upgraded and javadoc improved
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Mar 28, 2014
1 parent ad99332 commit e0d6e92
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/java/org/wyona/yanel/core/Resource.java
Expand Up @@ -22,7 +22,9 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;

import org.wyona.yanel.core.attributes.translatable.TranslationManager;
import org.wyona.yanel.core.map.Realm;

Expand All @@ -31,7 +33,7 @@
*/
public abstract class Resource {

private static Logger log = Logger.getLogger(Resource.class);
private static Logger log = LogManager.getLogger(Resource.class);

// TODO: make protected members private (access in subclasses via getter/setter methods)
protected ResourceTypeDefinition rtd;
Expand Down Expand Up @@ -305,6 +307,8 @@ public String getRequestedLanguage() throws Exception {

/**
* Get property value from resource configuration
* @param name Name of resource property
* @return value of resource property
*/
public String getResourceConfigProperty(String name) throws Exception {
ResourceConfiguration rc = getConfiguration();
Expand Down

0 comments on commit e0d6e92

Please sign in to comment.