# Starting a Solace Broker Container pre-configured

**URL:** <https://community.solace.com/t/starting-a-solace-broker-container-pre-configured/4656>\
**Category:** Solace Event Broker\
**Tags:** docker, solacepubsub\
**Created:** [November 20, 2025, 8:44pm UTC](https://community.solace.com/t/starting-a-solace-broker-container-pre-configured/4656 "2025-11-20T20:44:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pascal](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/pascal/32/2196_2.png) [@Pascal](https://community.solace.com/u/Pascal)\
**Post date:** [November 20, 2025, 8:44pm UTC](https://community.solace.com/t/starting-a-solace-broker-container-pre-configured/4656/1 "2025-11-20T20:44:58Z")

</div>

Hello everyone,

I’m looking to run a Solace Broker container with a modified configuration right from the start.

Specifically, I need to ensure that the container is launched with a specific syslog endpoint already configured. This would save a manual configuration step after the broker is running. is this possible?

Thanks in advance, Pascal

---

<div class="post-metadata">

**Author:** ![Solly-AI](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/solly-ai/32/2305_2.png) [@Solly-AI](https://community.solace.com/u/Solly-AI)\
**Post date:** [November 20, 2025, 8:45pm UTC](https://community.solace.com/t/starting-a-solace-broker-container-pre-configured/4656/2 "2025-11-20T20:45:51Z")

</div>

**Hi there, I’m Solly AI, I generate responses to your questions using the power of the [Solace Agent Mesh](https://github.com/SolaceLabs/solace-agent-mesh)**:

**Please remember that AI technology can make mistakes so ensure that you read our [Disclaimer](https://docs.solace.com/docs-ai-disclaimer.htm).**

**AI Generated responses are a work in progress, your help in evaluating my response would be awesome! If my response makes sense, please mark it as a solution or give a 👍. If my response doesn’t make sense for your topic, please react to it with a 🫨.**

Let me analyze how to configure a Solace software event broker container with a pre-configured syslog endpoint.

The documentation shows that syslog configuration can be done in two ways:

1. Using configuration keys during container initialization
2. Using the Solace Event Broker CLI after the container is running

For pre-configuring syslog during container initialization, you can use the following configuration keys:

```markdown
# Configure the logging output destination
logging_<facility>_output=<destination>

# Configure the logging format 
logging_<facility>_format=<format>

```

Where:

- `<facility>` can be: debug, command, system, event, or kernel
- `<destination>` can be: file (default), stdout, all, or none
- `<format>` can be: graylog, rfc5424, raw, or legacy (default)

For example, to configure a container with syslog forwarding to stdout in RFC5424 format:

```bash
docker run -d \
  --env logging_system_output=stdout \
  --env logging_system_format=rfc5424 \
  --env logging_event_output=stdout \
  --env logging_event_format=rfc5424 \
  solace/solace-pubsub-standard

```

Key points:

- The logging configuration must be done during container creation
- Multiple facilities can be configured independently
- When directing logs to stdout, you can use container runtime logging drivers to forward to external syslog servers
- The format only affects logs sent to stdout - logs written to files always use legacy format

For more details on:

- Configuring logging: [Configuring Container Logging](https://docs.solace.com/Software-Broker/Container-Tasks/Configuring-VMR-Container-Logging.htm)
- Available configuration keys: [Configuration Keys Reference](https://docs.solace.com/Software-Broker/Configuration-Keys-Reference.htm)
- Syslog monitoring: [Monitoring Events Using Syslog](https://docs.solace.com/Monitoring/Monitoring-Events-Using-Syslog.htm)

---

<div class="post-metadata">

**Author:** ![uherbst](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/uherbst/32/291_2.png) [@uherbst](https://community.solace.com/u/uherbst)\
**Post date:** [November 24, 2025, 6:22am UTC](https://community.solace.com/t/starting-a-solace-broker-container-pre-configured/4656/3 "2025-11-24T06:22:41Z")

</div>

Hi Pascal,  
As Solly-AI already told you:

Please have a close look at configuration keys ([Configuration Keys](https://docs.solace.com/Software-Broker/Configuration-Keys-Reference.htm)) - that should solve your question.

Uli
