|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vladnput.VladLogger
public class VladLogger
This class logs all requests and request parameters that are in violation of the security policy defined by a Vlad configuration. These errors are logged with Log4j and sent to the logger named org.vladnput.VladLogger at a warn level. The exact format of the log messages will depend on your local Log4j configuration, but the log messages generated are in the following format: [Client IP] [URL] [Param] [Param Value] [Generic Message] [Detail Message 1] [Detail Message 2] ... There may not be any detail messages. Instances of this class are thread safe.
Constructor Summary | |
---|---|
VladLogger()
|
Method Summary | |
---|---|
void |
logErrors(VladErrors errors)
Logs errors to the Log4j logger. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VladLogger()
Method Detail |
---|
public void logErrors(VladErrors errors)
errors
- The errors to log
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |