hi wim, i did not find any way to change the pattern, neither in the webstart nor in the download version (with vigilog-1.3-SNAPSHOT.jar renamed to replace vigilog-1.2.1.jar). but then i'm not sure if i realy have 1.3 working... - how can i set the pattern? - is there a way to see which version i am using?
best regards patrick ps: how is the executable searching the jars? i can delete vigilog-1.2.1.jar but the executable is still starting up ?!?!? > -----Ursprüngliche Nachricht----- > Von: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 10. April 2007 10:11 > An: Log4J Users List > Betreff: Re: Viewing plain text log4j log files (was: Vigilog > listing as > "Third-party extension"?) > > > Hi Maarten, > > %x is not supported for the moment. Can you send me a private > email with an > example log file so I can add support for it? > > regards, > > Wim > > 2007/4/10, Maarten Bosteels <[EMAIL PROTECTED]>: > > > > Wim, > > > > We are using org.apache.log4j.PatternLayout with following > pattern %d [%t] > > %x %-5p %50.50c - %m%n > > Vigilog doesn't seem to support this ? > > > > Maarten > > > > Message: > > java.util.concurrent.ExecutionException: > > net.sourceforge.vigilog.parse.LogFileParserException: Unsupported > > conversion > > item: %x > > Level: > > SEVERE > > Stack Trace: > > > 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:108) > > 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:595) > > > > On 4/10/07, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > > > > > I just tried with "%-5p [%t] %c - %m%n" as conversion > pattern and it > > works > > > ok. I don't know what those numbers are behind the category? > > > > > > I also updated to the latest version of log4j and > jgoodies. The other > > > dependencies seem to be on the latest version. > > > > > > Tailing is currently not supported, you need to press > refresh (or F5) > > > yourself. > > > > > > regards, > > > > > > Wim > > > > > > 2007/4/10, Wim Deblauwe <[EMAIL PROTECTED]>: > > > > > > > > Hi, > > > > > > > > I am sorry for the late reply. I was busy trying to get > the webstart > > > > version working (You can try it now at: > > > > http://vigilog.sourceforge.net/staging/). What is the conversion > > pattern > > > > you are using? > > > > > > > > regards, > > > > > > > > Wim > > > > > > > > 2007/4/4, Jacob Kjome <[EMAIL PROTECTED]>: > > > > > > > > > > Quoting Wim Deblauwe <[EMAIL PROTECTED]>: > > > > > > > > > > > I have added support for opening plain text files > in Vigilog. See > > > > > > > > > > > > > > > > > http://www.jroller.com/page/Fester?entry=vigilog_now_supportin > g_non_xmlfor > > > > > > more info. > > > > > > > > > > > > > > > > I downloaded the 1.3-SNAPSHOT from... > > > > > > http://www.jroller.com/resources/f/Fester/vigilog-1.3-SNAPSHOT.jar > > > > > > > > > > Then I renamed it to "vigilog-1.2.1.jar", so i could > run it with > > > > > vigilog.exe. I > > > > > dropped the following simple log file and Vigilog > reports that it's > > an > > > > > unsupported format (I also tried removing the > "log4j:ERROR" line, > > from > > > > > Log4j's > > > > > internal logging, with the same results).... > > > > > > > > > > INFO [Thread-1]: > ache.catalina.core.AprLifecycleListener 0 - > > > Loaded > > > > > Apache > > > > > Tomcat Native library 1.1.10. > > > > > INFO [Thread-1]: > .apache.coyote.http11.Http11AprProtocol 541 - > > > > > Initializing > > > > > Coyote HTTP/1.1 on http-8080 > > > > > INFO [Thread-1]: > org.apache.coyote.ajp.AjpAprProtocol 541 - > > > > > Initializing > > > > > Coyote AJP/1.3 on ajp-8009 > > > > > INFO [Thread-1]: > org.apache.catalina.startup.Catalina 541 - > > > > > Initialization > > > > > processed in 3265 ms > > > > > INFO [Thread-1]: > rg.apache.catalina.core.StandardService 691 - > > > > > Starting > > > > > service Catalina > > > > > INFO [Thread-1]: > org.apache.catalina.core.StandardEngine 701 - > > > > > Starting > > > > > Servlet Engine: Apache Tomcat/6.0.10 > > > > > log4j:ERROR Failed to rename > > > > > > [C:\java\apache\apache-tomcat-6.0.10/logs/localhost_istatus.log] to > > > > > [C:\java\apache\apache-tomcat-6.0.10 > > > > > /logs/localhost_istatus.log.2007-04-02]. > > > > > INFO [Thread-1]: > .apache.coyote.http11.Http11AprProtocol 15933 - > > > > > Starting > > > > > Coyote HTTP/1.1 on http-8080 > > > > > INFO [Thread-1]: > org.apache.coyote.ajp.AjpAprProtocol 16003 - > > > > > Starting > > > > > Coyote AJP/1.3 on ajp-8009 > > > > > INFO [Thread-1]: > org.apache.catalina.startup.Catalina 16013 - > > > Server > > > > > startup > > > > > in 15472 ms > > > > > > > > > > > My solution avoids that you need to convert your > patternlayout > > > string > > > > > and it > > > > > > also accepts plain text files by drag and drop > (does not seem to > > > work > > > > > in > > > > > > Chainsaw). All testers are welcome! > > > > > > > > > > > > > > > > Sounds nice if it actually works. BTW, why do you > have log4j-1.2.7as > > > > > the Log4j > > > > > dependency? That's seriously old. Why not update to > Log4j-1.2.14 > > > ? Same > > > > > goes > > > > > for any other dependency. Why not use the latest and > > greatest? Also, > > > > > is it > > > > > possible to change the exe file so that it doesn't > have a strict > > > > > dependency on > > > > > a particular version? If I want to drop in > Log4j-1.2.14, should be > > > able > > > > > to, > > > > > but vigilog.exe strictly points to log4j-1.2.7. > > > > > > > > > > Oh, and does Vigilog tail the log file? That is, as stuff is > > logged, > > > > > does > > > > > Vigilog pick it up? Chainsaw does that with local > files and remote > > > > > tailing is > > > > > a planned feature, using commons-vfs. Remote files, > loaded using > > any > > > > > commons-vfs supported protocol (such as SFTP, with > authentication) > > is > > > > > supported > > > > > by Chainsaw, but remote tailing has yet to be > implemented. It might > > > be > > > > > as part > > > > > of the Google Summer of Code, otherwise it might wait > a little bit. > > > > > > > > > > Jake > > > > > > > > > > > regards, > > > > > > > > > > > > Wim > > > > > > > > > > > > 2007/3/31, Jacob Kjome <[EMAIL PROTECTED]>: > > > > > > > > > > > > > > At 12:42 PM 3/30/2007, you wrote: > > > > > > > >Hi, > > > > > > > > > > > > > > > >If there is demand for it, I might add it. What > are the reasons > > > for > > > > > using > > > > > > > >non-XML? How does Chainsaw handle that, does the > non-XML has to > > > > > conform > > > > > > > to > > > > > > > >some format or do you need to pass the layout > you use for the > > > text > > > > > file? > > > > > > > > > > > > > > > > > > > > > > I think most users of Log4j use the PatternLayout > for their log > > > > > > > files. Chainsaw has a receiver that is able to > read log files > > > > > > > written using PatternLayout, provided that the > user provide the > > > > > > > receiver with the pattern used to write the log > file. Note that > > > the > > > > > > > receiver pattern is not the same syntax as the > PatternLayout > > > > > > > pattern. See Chainsaw's docs for info. > > > > > > > > > > > > > > >I surely thought about webstart, but there is a > problem with > > the > > > > > Maven > > > > > > > >Webstart plugin that does not allow you to have > a webstart > > > version > > > > > in the > > > > > > > >same project as your normal project. This should > be solved > > soon, > > > I > > > > > will > > > > > > > then > > > > > > > >add webstart version to the website. > > > > > > > > > > > > > > > >regards, > > > > > > > > > > > > > > > >Wim > > > > > > > >PS: It seems there is a testversion that has the > bug solved. I > > > will > > > > > look > > > > > > > >into it. > > > > > > > > > > > > > > Cool. I think providing a Webstart version will > make it more > > > likely > > > > > > > > > > > > that people will try it out. > > > > > > > > > > > > > > Jake > > > > > > > > > > > > > > > > > > > > > > >2007/3/30, Jacob Kjome <[EMAIL PROTECTED]>: > > > > > > > >> > > > > > > > >> > > > > > > > >> It looks like a nice little UI for log > viewing. Do you plan > > on > > > > > adding > > > > > > > the > > > > > > > >> capability to read non-XML logs like Chainsaw? > I have to > > say, > > > I > > > > > never > > > > > > > use > > > > > > > >> XMLLayout. So, personally, I see Chainsaw as > my only option > > > ATM, > > > > > even > > > > > > > >> though > > > > > > > >> Vigilog looks like a nice tool. > > > > > > > >> > > > > > > > >> BTW, have you thought of using JavaWebstart to > launch the app > > > > > instead > > > > > > > of > > > > > > > >> making > > > > > > > >> people download/run it manually? > > > > > > > >> > > > > > > > >> Jake > > > > > > > >> > > > > > > > >> Quoting Wim Deblauwe < [EMAIL PROTECTED]>: > > > > > > > >> > > > > > > > >> > Hi, > > > > > > > >> > > > > > > > > >> > I have an open source project that is a log > file viewer on > > > > > log4j XML > > > > > > > log > > > > > > > >> > files. Is it possible that you add my project in the > > > > > "Third-party > > > > > > > >> > extensions" chapter on the log4j website ( > > > > > > > >> > http://logging.apache.org/log4j/docs/download.html)? > > > > > > > >> > > > > > > > > >> > Name of the project: Vigilog > > > > > > > >> > Website: http://vigilog.sourceforge.net > > > > > > > >> > Description: Vigilog is a log file viewer with an > > attractive > > > > > GUI that > > > > > > > >> > supports on-the-fly filtering, color filters > and color > > filter > > > > > groups, > > > > > > > >> > merging of log files, time zones and much more. > > > > > > > >> > > > > > > > > >> > I would be most grateful. > > > > > > > >> > > > > > > > > >> > regards, > > > > > > > >> > > > > > > > > >> > Wim > > > > > > > >> > > > > > > > > >> > -- > > > > > > > >> > Vigilog - an open source log file viewer: > > > > > > > http://vigilog.sourceforge.net > > > > > > > >> > Blog: http://www.jroller.com/page/Fester > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > > --------------------------------------------------------------------- > > > > > > > >> To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > > > > >> For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > >-- > > > > > > > >Vigilog - an open source log file viewer: > > > > > http://vigilog.sourceforge.net > > > > > > > >Blog: http://www.jroller.com/page/Fester > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Vigilog - an open source log file viewer: > > > > > http://vigilog.sourceforge.net > > > > > > Blog: http://www.jroller.com/page/Fester > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > Vigilog - an open source log file viewer: > > http://vigilog.sourceforge.net > > > > Blog: http://www.jroller.com/page/Fester > > > > > > > > > > > > > > > > -- > > > Vigilog - an open source log file viewer: http://vigilog.sourceforge.net > > Blog: http://www.jroller.com/page/Fester > > > -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
