Q:

Getting Stack Overflow Error when writing log by using log4j

I'm using log4j for writing log when running test automation.
Here is my method to write log:
public class Log {

private static Logger Log = Logger.getLogger(Log.class.getName()); 

public static void info(String message)
{
    Log.info(message);
}

}

But whenever I use it, the stack overflow error is thrown like below:
Calling method:
Log.info("Click action is performed on My Account link");

Error: 
java.lang.StackOverflowError at 
helpers.Log.info(Log.java:21) at 
helpers.Log.info(Log.java:21) at 
helpers.Log.info(Log.java:21) at 
helpers.Log.info(Log.java:21)

Can anyone please help?

A:

i dont see the configuration for log4j.properties file. try this
import org.apache.log4j.Logger;
import org.apache.log4j.xml.DOMConfigurator;
public class Logs {

    public static Logger Application_Log = Logger.getLogger(Logs.class.getName());

    public Logs(){
         DOMConfigurator.configure("log4j-config.xml");
    }
public void info(String message){
        Application_Log.info(message);
    }

