Skip to content

1.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Oct 04:33
· 26 commits to main since this release
Immutable release. Only release title and notes can be modified.

Fixes 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.as MBeans (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=logging change 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 the logctl reference (issue #228).
  • A fourth demo recording: a trim rule cuts a known ConnectException to one line, embedded
    in How-to: Silence noise (issue #226).
  • A conf file for the logctl launchers. An optional bin/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 pass JAVA_OPTS to the JVM, and LOGCTL_JAR_HOME names the directory holding
    logaperture-cli.jar (issue #238, review by @mikeleonfsc).

Changed

  • logctl now honors JAVA_HOME. The launchers used to run java from the PATH and ignore
    it. When JAVA_HOME is set, logctl runs $JAVA_HOME/bin/java only, and stops with an error
    if it isn't there (issue #238).