Hi there,
i am building an webapp where i want to log the useraction in a particular
File to be able to monitor what action was performed by the users.
What i did was to imlement a loging Methode in the SecureAction-Module which
is used in every action-module.
Here is the Code:
import org.apache.log4j.*;
....
static Category cat =
Category.getInstance(VelocitySecureAction.class.getName());
public void Log(RunData data, String sMsg)
{
String sUser = data.getUser().getUserName();
cat.info(sUser + " " + data.getAction() + " " + sMsg);
}
The problem is that im am not able to find the proper place for the
log4j.properties where i can configure the location of the logfile.
I tryed different locations but it seems not to be read by log4j.
Has anyone a hint for me?
Thanx
Dieter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]