It is nice that log4J allows for the addition of custom LogLevels. Viewing them with Vigilog seems to be a problem. Here is a link on how to introduce a new log level: http://www.owasp.org/index.php/How_to_add_a_security_log_level_in_log4j
Here are the details within the Error Dialog:
Message:
java.util.concurrent.ExecutionException: com.thoughtworks.xstream.converters.ConversionException: No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT
---- Debugging information ----
message : No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT
cause-exception : java.lang.IllegalArgumentException
cause-message : No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT
class : java.util.List
required-type : net.sourceforge.vigilog.model.LogEntry
path : /log4j:eventSet/log4j:event
line number : 1
class : java.util.List
required-type : net.sourceforge.vigilog.model.LogEntry
path : /log4j:eventSet/log4j:event
line number : 1
-------------------------------
Level:
SEVERE
Stack Trace:
com.thoughtworks.xstream.converters.ConversionException: No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT ---- Debugging information ---- message : No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT cause-exception : java.lang.IllegalArgumentException cause-message : No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT class : java.util.List required-type : net.sourceforge.vigilog.model.LogEntry path : /log4j:eventSet/log4j:event line number : 1 class : java.util.List required-type : net.sourceforge.vigilog.model.LogEntry path : /log4j:eventSet/log4j:event line number : 1 -------------------------------
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
java.util.concurrent.FutureTask.get(FutureTask.java:80)
org.jdesktop.swingworker.SwingWorker.get(Unknown Source)
net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:106)
net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:42)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
java.util.concurrent.FutureTask.run(FutureTask.java:123)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
java.lang.Thread.run(Thread.java:613)
No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT ---- Debugging information ---- message : No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT cause-exception : java.lang.IllegalArgumentException cause-message : No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT class : java.util.List required-type : net.sourceforge.vigilog.model.LogEntry path : /log4j:eventSet/log4j:event line number : 1 class : java.util.List required-type : net.sourceforge.vigilog.model.LogEntry path : /log4j:eventSet/log4j:event line number : 1 -------------------------------
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:57)
com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
com.thoughtworks.xstream.XStream.fromXML(XStream.java:775)
net.sourceforge.vigilog.parse.Log4jXMLFileLogFileParser.parse(Log4jXMLFileLogFileParser.java:56)
net.sourceforge.vigilog.ui.LogFileLoaderCallable$ParseLogSwingWorker.doInBackground(LogFileLoaderCallable.java:199)
net.sourceforge.vigilog.ui.LogFileLoaderCallable$ParseLogSwingWorker.doInBackground(LogFileLoaderCallable.java:188)
org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
java.util.concurrent.FutureTask.run(FutureTask.java:123)
org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
java.lang.Thread.run(Thread.java:613)
No enum const class net.sourceforge.vigilog.model.LogLevel.SYSTEM_OUT
java.lang.Enum.valueOf(Enum.java:196)
net.sourceforge.vigilog.model.LogLevel.valueOf(LogLevel.java:23)
net.sourceforge.vigilog.parse.Log4jEntryConverter.unmarshal(Log4jEntryConverter.java:62)
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66)
com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:57)
com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50)
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
com.thoughtworks.xstream.XStream.unmarshal(XStream.java:819)
com.thoughtworks.xstream.XStream.fromXML(XStream.java:775)
net.sourceforge.vigilog.parse.Log4jXMLFileLogFileParser.parse(Log4jXMLFileLogFileParser.java:56)
net.sourceforge.vigilog.ui.LogFileLoaderCallable$ParseLogSwingWorker.doInBackground(LogFileLoaderCallable.java:199)
net.sourceforge.vigilog.ui.LogFileLoaderCallable$ParseLogSwingWorker.doInBackground(LogFileLoaderCallable.java:188)
org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
java.util.concurrent.FutureTask.run(FutureTask.java:123)
org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
java.lang.Thread.run(Thread.java:613)