Repository navigation
1.0.0-beta.2
Pre-releaseFixes on WildFly and Logback, more in the guide, and a conf file for the logctl launchers. The
commands and the --json output are unchanged; the one behavior change is that logctl now
honors JAVA_HOME. Not for production yet. WildFly users on beta.1 should upgrade: on some
servers the agent stopped WildFly's own management beans from registering.
Fixed
-
WildFly's
jboss.asMBeans (and so datasources) went missing with the agent on. The agent
could create the platform MBean server before jboss-modules had set
javax.management.builder.initial, so WildFly's own MBean server builder was never used. The
agent now waits for that property (up to 30 s) before installing (issue #237, thanks to
@mikeleonfsc, PR #235). -
WildFly: overrides now come back as soon as a
/subsystem=loggingchange lands, instead of
waiting for the next verification sweep (30 s by default). The agent watches the server's
logging.properties, because JBoss LogManager's configuration listener never fires for those
changes (issue #232). -
Logback: overrides are re-applied after every reconfiguration, and after the new file is
read. Before, only the first reconfiguration re-applied them, and a logger the file gave a
level to was re-applied and then overwritten (issue #231). -
Every file in the release zip was dated 1 February 1980, and so was every entry in the jars
inside it. The files now carry the date of the release's commit (issue #207).
Added
- Now Showing, a guide page that walks through every demo recording in order: when you would
reach for each, the recording, and every command in it with each argument explained and linked
to thelogctlreference (issue #228). - A fourth demo recording: a trim rule cuts a known
ConnectExceptionto one line, embedded
in How-to: Silence noise (issue #226). - A conf file for the
logctllaunchers. An optionalbin/logctl.conf(bin/logctl.conf.cmd
on Windows) is run before anything else and can set or clear any variable, so a bundled JDK can
be found by a path relative to the launcher whatever the caller's environment. The launchers
also passJAVA_OPTSto the JVM, andLOGCTL_JAR_HOMEnames the directory holding
logaperture-cli.jar(issue #238, review by @mikeleonfsc).
Changed
logctlnow honorsJAVA_HOME. The launchers used to runjavafrom thePATHand ignore
it. WhenJAVA_HOMEis set,logctlruns$JAVA_HOME/bin/javaonly, and stops with an error
if it isn't there (issue #238).