I recall my difficulties (many years ago), when first incorporating
logging, working out what was a "good" logging configuration. I would have
really appreciated a good out-of the box default.
Now I think that the out-of-the box default should be
* A root logger set to INFO
* A rolling appender lo
I seriously doubt there is a way to create a single “default” configuration.
We could create a few though. For example, if you are running in a
Kubernetes environment you almost certainly want to log JSON to the
console (as much as I hate doing that). A better long term approach would
be to enhan
Structured logging can look like syslog, JSON, or even like a properties file
(for each event). The idea being that instead of merely a log string, there are
key/value pairs to better detail the state being logged.
—
Matt Sicker
> On Jun 13, 2022, at 13:20, Gary Gregory wrote:
>
> Let me rel
Let me relate the path we took with some of our products. Ages ago, we
started by logging just to the console, then customers would ask for help
and we'd ask for logs, sometimes we got back a copy-paste, other times a
screenshot, nothing helpful, so we then gave the users steps to enable file
loggi
Hey all, I was thinking we should figure out a more appropriate default
configuration for 3.0. One idea I have would be to use a structured format by
default along with more emphasis on using either audit events or messages to
log structured data more directly.
Besides that, there are other opt
Piotr,
It looks like the following will add the release flag to builds on Java 9+
but still work with Java 8. Should we use this?
java-8-api
[9,)
8
On Sun, Jun 12, 2022 at 10:16 PM Matt Sicker wrote:
> Just see some of the commits in master that made that buildable in n
Greetings!
JDK 19 has now entered Rampdown Phase One (RDP1) [1], which means that
the main-line has been forked into a dedicated JDK 19 stabilization
repository. At this point, the overall JDK 19 feature set is frozen and
no additional JEPs will be targeted to JDK 19. The stabilization
reposi