© Kishori Sharan 2017

Kishori Sharan, Java 9 Revealed, 10.1007/978-1-4842-2592-9_19

19. Platform and JVM Logging

Kishori Sharan

(1)Montgomery, Alabama, USA

In this chapter, you will learn:

  • The new platform logging API

  • Command-line options for JVM logging

JDK 9 has overhauled the logging systems for platform classes (JDK classes) and JVM components. There is a new API that lets you specify a logging framework of your choice as logging backend for logging messages from platform classes. There is also a new command-line option that lets you access messages from all JVM components. In this chapter, I describe both logging facilities in detail.

Platform Logging API

Java SE 9 has added a platform logging API that can be used to specify a logger, for example, ...

Get Java 9 Revealed: For Early Adoption and Migration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.