Hi Michael, for sure, I can do this. However, I'm not sure whether this (at the end somehow small) issue is a blog post worth. I posted this topic on stackoverflow as well, see http://stackoverflow.com/questions/22449301/add-custom-logback-config-to-neo4j-unmanaged-extension. Okay, my answer there is a bit hidden in a reply there ;) but in general, this issue was more a logback issue and my lack of knowledge there, then it is really a neo4j issue. Nevertheless, you may add a small section in the "unmanaged extension" chapter of the neo4j manual that mentions the custom-logback.xml at $NEO4J_HOME/conf and that one should preferably utilise the <included> tag there as root node instead of the <configuration> tag ;)
Cheers, Bo PS: let me know, if I still should write a blog post about this topic ;) On Friday, March 21, 2014 5:50:28 PM UTC+1, Michael Hunger wrote: > > Hey Bo, > > I would love if you could write up your findings as a blog post, that > would be highly appreciated ! > > Thanks a lot > > Michael > > Am 21.03.2014 um 14:33 schrieb Bo Ferri <[email protected]<javascript:> > >: > > Hello again, > > .. just for the record and to close this topic: > > one can also easily deploy a custom logback config in $NEO4J_HOME/conf as > custom-logback.xml by keeping in mind to utilise the <included> tag as root > node of the config instead of <configuration> (which was the case with my > previous tries ...). > > Cheers, > > > Bo > > > On Monday, March 17, 2014 11:39:16 AM UTC+1, Bo Ferri wrote: >> >> Hi all, >> >> ... just for the record ;) >> >> Here's the way how I got it working: >> >> 1. remove logback.xml from your neo4j-server jar of your neo4j >> stand-alone installation (it's located, e.g., at >> /usr/share/neo4j/system/lib/) >> 2. place your logback.xml at $NEO4J_HOME/conf/ >> 3. ensure that you've deployed only one logback.xml over the whole >> classpath of your neo4j stand-alone installation -> you can check this >> via >> reviewing the log file at $NEO4J_HOME/data/log/console.log) >> 4. you may include the logback config from the logback.xml in the >> neo4j-server package into your logback.xml at $NEO4J_HOME/conf/) >> >> point 3. and 4. are optional. >> >> Cheers, >> >> Bo >> > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
