For the moment then, you should just be able to attach a logger ni the jetty.xml.
In the future this will be supported, as Greg suggests, directly via MBeans configured in the sar's jboss-service.xml Jules Greg Wilkins wrote: > Jetty now has a pluggable access log mechanism so multiple formats can > be supported. The standard and extended formats are supported. > Note there is still some work to do to clean this up as the formatters > separation from the log sink is not good. > > I assume in JBoss, this is setup via the jetty.xml file and will go > where ever it is defined there (probably JETTY_HOME/logs). > > But we need to start moving all the core configuration out of the > Jetty.xml file into the normal JMX configuration mechanism of > JBoss. > > cheers > > Hunter Hillegas wrote: > > > I think this will be a big issue. > > > > If the idea is that you don't need Apache anymore with Jetty, Jetty has to > > support log files that people can generate reports from... That means piping > > it to the Jboss log isn't enough since no tool I know of for Web reporting > > will parse out the log4J categories, etc... > > > > Hunter > > > > > >>From: Julian Gosnell <[EMAIL PROTECTED]> > >>Reply-To: [EMAIL PROTECTED] > >>Date: Tue, 11 Dec 2001 20:54:59 +0000 > >>To: [EMAIL PROTECTED] > >>Subject: Re: [jetty-discuss] Jetty4 temp directory > >> > >>Good question.... > >> > >>I have simply written a bridge between Jetty and JBoss/Log4J logging systems, > >>so > >>if Jetty logged it, it will be in the JBoss log. > >> > >>If you want an access log, have a look at what standalone Jetty does in this > >>respect and then we will discuss how this best might be done in > >>JBoss/Jetty...... > >> > >>Perhaps we want a separate 'access' logging category - but I'm not sure, > >>without > >>looking, how Jetty splits the various logging outputs.... > >> > >>Greg ? > >> > >>Jules > >> > >> > >>Hunter Hillegas wrote: > >> > >> > >>>Jules- > >>> > >>>One thing I've been wondering... > >>> > >>>Where does JBoss3+Jetty4 put it's access logs? > >>> > >>>Hunter > >>> > >>> > >>>>From: Julian Gosnell <[EMAIL PROTECTED]> > >>>>Reply-To: [EMAIL PROTECTED] > >>>>Date: Tue, 11 Dec 2001 20:40:14 +0000 > >>>>To: [EMAIL PROTECTED] > >>>>Subject: Re: [jetty-discuss] Jetty4 temp directory > >>>> > >>>>I'll probably hang back from this one for a while, Hunter. I like to keep my > >>>>life simple..... > >>>> > >>>>Jules > >>>> > >>>>P.S. > >>>> > >>>>If you REALLY want to live on the bleeding edge, check out a Jetty tree from > >>>>SF, build it and stick it into your jetty-plugin.sar - probably not worth > >>>>the effort though. If there is an important fix, I will stick it into JBoss > >>>>cvs immediately... > >>>> > >>>> > >>>>Hunter Hillegas wrote: > >>>> > >>>> > >>>>>I'll try it as soon as Jules gets it into Jboss CVS... > >>>>> > >>>>>BTW, MacOS is not bizarre! OS X rules! End or rant. > >>>>> > >>>>> > >>>>>>From: Greg Wilkins <[EMAIL PROTECTED]> > >>>>>>Reply-To: [EMAIL PROTECTED] > >>>>>>Date: Tue, 11 Dec 2001 19:02:33 +1100 > >>>>>>To: [EMAIL PROTECTED] > >>>>>>Subject: [jetty-discuss] Jetty4 temp directory > >>>>>> > >>>>>>So can those of you with bizarre operating systems > >>>>>>(and I'm thinking VMS, MVS, MacOS, Win32 here....) > >>>>>> > >>>>> > >>>>>For the latest information about Jetty, please see http://jetty.mortbay. > >>>>> > >>>>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > >>>>> > >>>> > >>>>_________________________________________________________ > >>>>Do You Yahoo!? > >>>>Get your free @yahoo.com address at http://mail.yahoo.com > >>>> > >>>> > >>>>For the latest information about Jetty, please see http://jetty.mortbay. > >>>> > >>>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > >>>> > >>>> > >>> > >>>For the latest information about Jetty, please see http://jetty.mortbay. > >>> > >>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > >>> > >> > >>_________________________________________________________ > >>Do You Yahoo!? > >>Get your free @yahoo.com address at http://mail.yahoo.com > >> > >> > >> > >>For the latest information about Jetty, please see http://jetty.mortbay. > >> > >>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > >> > >> > > > > > > ------------------------ Yahoo! Groups Sponsor ---------------------~--> > > Quit now for Great > > American Smokeout > > http://us.click.yahoo.com/0vN8tD/9pSDAA/ySSFAA/CefplB/TM > > ---------------------------------------------------------------------~-> > > > > For the latest information about Jetty, please see http://jetty.mortbay. > > > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > > > > > -- > Greg Wilkins<[EMAIL PROTECTED]> GB Phone: +44-(0)7092063462 > Mort Bay Consulting Australia and UK. Mbl Phone: +61-(0)4 17786631 > http://www.mortbay.com AU Phone: +61-(0)2 98107029 > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
