Skip to Main Content
APACHE KARAF COOKBOOK
book

APACHE KARAF COOKBOOK

by Achim Nierbeck, Jamie Goodyear
August 2014
Beginner to intermediate content levelBeginner to intermediate
260 pages
5h 31m
English
Packt Publishing
Content preview from APACHE KARAF COOKBOOK

Configuring production-ready logging in Apache Karaf

One of the first tasks administrators of Apache Karaf undertake is changing the default logging configuration to more production-ready settings.

To improve the default logging configuration, we'll perform the following tasks:

  • Update the logfile location to be outside the data folder. This helps administrators avoid accidentally wiping out logfiles when deleting runtime data.
  • Increase the logfile size. The default size of 1 MB is too small for most production deployments. Generally, we set this to 50 or 100 MB, depending on the available disk space.
  • Increase the number of logfiles we retain. There is no correct number of logfiles to retain. However, when disk space is cheap and available, keeping ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Instant OSGi Starter

Instant OSGi Starter

Jamie Goodyear, Johan Edstrom
Learning Docker - Second Edition

Learning Docker - Second Edition

Pethuru Raj, Vinod Singh, Jeeva S. Chelladhurai

Publisher Resources

ISBN: 9781783985081Supplemental Content