java create and write to windows custom view
<p>I'm using this code in order to write to my windows event viewer:</p>

<pre><code>import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.nt.NTEventLogAppender;

public class EventLogExample {

public static void main(String[] args) 
{    
   Logger logger = Logger.getLogger(EventLogExample.class);

    NTEventLogAppender ntAppender = new NTEventLogAppender("EventLogExample message");

    logger.setLevel(Level.INFO);
    logger.addAppender(ntAppender);
    logger.info("Test message 1: info message text");                      
}    
}
</code></pre>

<p>when I'm using this the log message is being written into EventViewer->WindowsLogs->Application.</p>

<p>I want to create a new view so that when i write the logs they will be written to the new view and not to the application view.</p>

<p>Is this possible? how can i create in java a new view and then write to it? I couldn't find any java example for this.</p>

<p>Thank's In Advance. </p>
