That's awesome - the MDC based logging will help a lot on making the logs indexable with elasticsearch/logstash w/o having to grok a lot.
2015-05-14 20:22 GMT+02:00 Daniel Kulp <[email protected]>: > > > On May 14, 2015, at 3:11 AM, David Karlsen <[email protected]> > wrote: > > > > Thank you very much for the answer! > > And is there some info for this feature as well: "New Logging feature for > > more advanced logging than the logging available in cxf-core"? > > Is it a newer feature (e.g. other class) than > > http://cxf.apache.org/docs/debugging-and-logging.html ? Maybe some docs > on > > that page would be nice? > > We’ll have to see if Christian can pick that up. > > For the most part, you would have to look at the javadoc/source: > > http://cxf.apache.org/javadoc/latest/org/apache/cxf/ext/logging/package-summary.html > > In general, if you use the LoggingFeature from there (instead of the on in > cxf-core), it will work “similar”, but there is a LogEventSender interface > that you can specify where the LogEvents should go. Thus, you can have > them go out to normal logs, off to some event thing, etc… > > There is a Slf4jEventSender: > > http://cxf.apache.org/javadoc/latest/org/apache/cxf/ext/logging/slf4j/Slf4jEventSender.html > > that can be used as a starting point. > > Dan > > > > > > > 2015-05-14 1:59 GMT+02:00 Daniel Kulp <[email protected]>: > > > >> > >>> On May 13, 2015, at 6:47 PM, David Karlsen <[email protected]> > >> wrote: > >>> > >>> Are there any docs on the metrics feature? > >>> I found it here: > >>> https://github.com/apache/cxf/tree/master/rt/features/metrics > >>> Seems like no namespace support, so I just declare a bean with > >> MetricsFeature > >>> into the bus? Is there a way to inject an instance of the > metricsRegistry > >>> (which I have from https://github.com/ryantenney/metrics-spring) into > >> it so > >>> that all metrics are placed into the same registry? > >> > >> The throttling sample in the distribution shows some of this in Java > code: > >> > >> > >> > https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=distribution/src/main/release/samples/throttling/src/main/java/demo/throttling/server/Server.java;h=aa722cff987f74ea7db69837fb19a0230a15aadd;hb=c2cb4435267c2347deb3dc12944f0615457692ad > >> > >> > >> For the most part, if you have a bean of type MetricRegistry in the > spring > >> context, it should be picked up automatically. > >> > >> > >> Dan > >> > >> > >> > >> > >>> > >>> 2015-05-06 22:20 GMT+02:00 Daniel Kulp <[email protected]>: > >>> > >>>> The Apache CXF community is proud to announce that CXF 3.1.0 has been > >>>> released. > >>>> > >>>> CXF 3.1.0 contains several new features: > >>>> > >>>> * Optional enhancements to generated code to better support Java 7/8 > >>>> * New Metrics capabilities for collecting metrics about CXF services > >>>> * New Throttling features for throttling access > >>>> * New Logging capabilities > >>>> * Better support for SSO for JAX-RS services > >>>> * Updates to use OpenSAML 3.x for SAML support > >>>> * Update to support Jetty 9.x > >>>> > >>>> > >>>> For a more complete list of changes required to migrate to CXF 3.1, > see: > >>>> http://cxf.apache.org/docs/31-migration-guide.html > >>>> > >>>> Downloads are available from: > >>>> http://cxf.apache.org/download.html > >>>> > >>>> For more information see: > >>>> * Website: http://cxf.apache.org/ > >>>> * Mailing lists: http://cxf.apache.org/mailing-lists.html > >>>> > >>>> If you have feedback, questions or would like to get involved in the > CXF > >>>> project please join the mailing lists and let us know your thoughts. > >>>> > >>>> The Apache CXF Team > >>>> http://cxf.apache.org/ > >>>> > >>>> > >>> > >>> > >>> -- > >>> -- > >>> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen > >> > >> -- > >> Daniel Kulp > >> [email protected] - http://dankulp.com/blog > >> Talend Community Coder - http://coders.talend.com > >> > >> > > > > > > -- > > -- > > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen > > -- > Daniel Kulp > [email protected] - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com > > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
