While I have never tried this personally it seems that there is a way to do
this via system property. Setting:

-DGT2_LOGGING_REDIRECTION=CommonsLogging

If you look at the LoggingStartupContextListener class in the main module
you will see how it used.

-Justin

On Sun, Sep 12, 2010 at 7:39 PM, Tara Athan <[email protected]> wrote:

> Is there a convenient way to have geotools log messages forwarded to the
> geoserver console? I am building from trunk and starting Geoserver in
> Jetty from eclipse. I tried the tip from the javadocs of adding a line
> to Start.java
>
>
> Logging.GEOTOOLS.setLoggerFactory("org.geotools.util.logging.CommonsLoggerFactory");
> but I don't notice any geotools messages showing up in my console or log
> file.
>
> Thanks, Tara
>
> --
> Tara Athan
> Owner, Athan Ecological Reconciliation Services
> tara_athan at alt2is.com
> 707-272-2115 (cell, preferred)
> 707-485-1198 (office)
> 249 W. Gobbi St. #A
> Ukiah, CA 95482
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to