Skip to content

Core log kinds conform to the registered Kind vocabulary - #762

Merged
ar merged 1 commit into
mainfrom
feature/kind-conformance-sweep
Sep 2, 2026
Merged

Core log kinds conform to the registered Kind vocabulary#762
ar merged 1 commit into
mainfrom
feature/kind-conformance-sweep

Conversation

@ar

@ar ar commented Sep 2, 2026

Copy link
Copy Markdown
Member

Implements #761. Follow-up to #759 / #760.

What

Core's own log emissions now conform to the registered Kind vocabulary.

Literal tag renames (all to kinds already registered):

Site Was Now
SystemMonitor SystemMonitor status
SimpleLogSource.warn(...) warning warn
ISOServer session loop VetoException, ISOException session-warning
ISOServer shutdown exception shutdown error
BASE24TCPChannel length / trailer dumps get-message-length, got-message-length, get-message-trailler, got-message-trailler debug
BCDChannel, HEXChannel, NCCChannel send-message-length debug
FSDChannel fsd-channel-debug debug
LoopbackChannel loopback-send, loopback-receive send, receive
JCESecurityModule jce-provider-cbc-mac, jce-provider-ede-mac jce-provider
SimpleKeyFile get-key-error error
DirPoll dirpoll error
RealmLogFilter ignored-realms config

Type-implied kinds at the audit-event emission sites (envelope tag now comes from the payload's registered type):

Site Was Now
ISOServer session start / end info iso-session
ISOServer.log(Listen) info iso-session
ISOServer.log(ThrowableAuditLogEvent) info error
BaseChannel, ChannelPool connect / disconnect connect, disconnect iso-session
Q2 deploy / undeploy / deploy-activity info deploy
Q2.audit() start / stop / shutdown / license info lifecycle

The four BASE24TCP markers keep their former tag name as the debug payload, so the events stay distinguishable.

Not changed

Registry and API. new LogEvent() still means info. Realms. s-m-operation. JSONL format (only kind values for the events above).

Release note

  • XML element names change for every renamed tag. The audit sites go from <info> to <iso-session>, <lifecycle> and <deploy>; channel connect and disconnect go from <connect> / <disconnect> to <iso-session> (the payload t still says which).
  • FilterLogListener treats unregistered tags as info, so filtering of the new kinds is unchanged. Throwable audit events now carry error and pass a warn threshold.
  • SysLogListener forwards only the tags listed in its tags property. Deployments that list info must add iso-session, lifecycle and deploy to keep receiving those events.

Rename ad-hoc and uppercase LogEvent tags in core to registered kinds
(status, warn, debug, send, receive, jce-provider, error, config,
session-warning) and carry the type-implied kind at the audit-event
emission sites: ISOServer sessions, Listen, channel connect/disconnect
now log as iso-session; Q2 deploy events as deploy; Q2 start/stop/
shutdown/license audits as lifecycle; throwable audits as error.

Envelope kind values and XML element names change for the affected
events; no registry, API, realm or JSONL format change.

Closes #761
@ar
ar merged commit d9cf6cc into main Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant