On Thu, Aug 29, 2013 at 5:24 PM, Roland van Laar <rol...@micite.net> wrote:

> For those wishing to use Sentry for logging, I got it working :-).
> I'm using raven-java: https://github.com/kencochrane/raven-java
>
> 1) Copy the default logger 'PRODUCTION_LOGGING.properties' file to
> SENTRY_LOGGING.properties
> 2) Open the file in a text editor
> 3) Change the line that starts with log4j.rootLogger to:
> log4j.rootLogger=WARN, geoserverlogfile, stdout, SentryAppender
> 4) Add the following to the file, change the sentry, key, host and ID :
> log4j.appender.SentryAppender=net.kencochrane.raven.log4j.SentryAppender
> log4j.appender.SentryAppender.dsn=http://SENTRY:KEY@HOST/ID
>
> 5) Download necessary jars:
> Read:
>
> https://github.com/kencochrane/raven-java/tree/master/raven-log4j#manual-dependency-management
> And install them to geoserver/WEB-INF/lib
> 6) I needed to remove my old commons-codec and log4j jars.
> 7) Restart tomcat
> 8) Select the new SENTRY_LOGGING.properties in the Global Settings menu.
> 9) Voila
>

Nice recipe, thanks for sharing :-)

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to