Class LogServerCLI

java.lang.Object
com.scivicslab.actoriac.cli.LogServerCLI
All Implemented Interfaces:
Callable<Integer>

public class LogServerCLI extends Object implements Callable<Integer>
CLI subcommand to start an H2 TCP server for centralized workflow logging.

This enables multiple actor-IaC processes on the same machine to write to a single shared log database. The server runs on localhost only - remote connections are not needed because actor-IaC operates from a single operation terminal.

Architecture:

[Operation Terminal]
├── H2 Log Server (localhost:29090)
├── Workflow Process A ──→ TCP write
├── Workflow Process B ──→ TCP write
└── Workflow Process C ──→ TCP write
         │
         │ SSH commands
         ▼
[Remote Nodes] ← Don't write directly to log server

Usage:

# Start the log server
actor-iac log-server --db ./logs/actor-iac-logs

# In another terminal, run workflow with --log-server
actor-iac -d ./workflows -w deploy --log-server=localhost:29090
Author:
devteam@scivics-lab.com