Skip to content

Incorrect log messages starting up Drasi Server #117

Description

@agentofreality

When you recreate the Log Reaction in step 4 of the Drasi Server getting started tutorial, the Drasi Server console shows the following output:

2026-05-31T17:19:39.055497Z INFO drasi_lib::reactions::manager: Provisioned reaction: log-reaction
2026-05-31T17:19:39.055773Z INFO drasi_host_sdk::callbacks: [plugin:log-reaction] Starting Reaction component: log-reaction
[log-reaction] Started - receiving results from queries: ["all-messages", "hello-world-senders"]
2026-05-31T17:19:39.055860Z INFO drasi_lib::lib_core: Component Event - Reaction log-reaction: Running -
2026-05-31T17:19:39.056036Z INFO drasi_lib::queries::base: Query 'all-messages' received subscription from reaction 'log-reaction'
2026-05-31T17:19:39.056327Z INFO drasi_lib::queries::base: Query 'hello-world-senders' received subscription from reaction 'log-reaction'
2026-05-31T17:19:39.056590Z INFO drasi_lib::reactions::manager: [log-reaction] Fresh start for query 'hello-world-senders' — fetch_outbox(0) returned latest_seq=0
2026-05-31T17:19:39.056604Z INFO drasi_server::api::shared::handlers::reaction_handlers: Reaction 'log-reaction' created successfully
[log-reaction] Query 'all-messages' (1 items):
[log-reaction] [ADD] {"From":"You","Message":"My first message!","MessageId":5}
[log-reaction] Query 'all-messages' (1 items):
[log-reaction] [UPDATE] {"From":"You","Message":"My first message!","MessageId":5} -> {"From":"You","Message":"My first UPDATED message!","MessageId":5}
[log-reaction] Query 'all-messages' (1 items):
[log-reaction] [DELETE] {"From":"You","Message":"My first UPDATED message!","MessageId":5}
2026-05-31T17:19:39.057102Z WARN drasi_server::api::shared::handlers::reaction_handlers: Failed to auto-start reaction 'log-reaction': Failed to start reaction 'log-reaction': Component 'log-reaction' is already running
2026-05-31T17:19:39.057111Z INFO drasi_server::persistence: Saving configuration to getting-started.yaml
2026-05-31T17:19:39.058550Z INFO drasi_server::persistence: Configuration saved successfully to getting-started.yaml

Notice the WARN message at 2026-05-31T17:19:39.057102Z saying the log-reaction failed to auto-start.

There are two problems here:

The log-reaction did not fail to start.
A component failing to start should not be a WARNing, it shoulf be an ERROR

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions