🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Additional Solace PubSub+ logging [solace/solace-pubsub-standard]

Tomasz
Tomasz Member Posts: 5

Maybe it would be possible to add additional console log when solace event broker is ready for configuring ?

For now we're searching for "Primary Virtual Router is now active" on /usr/sw/jail/logs/system.log which is making waiting complicated (executing grep/cat on this file in a loop instead of waiting for console log).

Answers

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 963 admin

    Hi @Tomasz,

    Can you share more about what you're trying to do here? Is this for manual configuration or automated via your CI/CD pipeline?

  • Tomasz
    Tomasz Member Posts: 5

    We need some additional information to be able to determine when we can execute solace configuration using cli.

    You can see the example here:

    For now we are checking system.log file in a loop to verify solace readiness and then we're executing configuration script.

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 963 admin

    Interesting, but if we were to write something to the console wouldn't you now just be checking the console output in a loop for a different message? or does testcontainers have some sort of built-in support that handles that?

  • Tomasz
    Tomasz Member Posts: 5

    Veryfing console log is already implemented on testcontainers and this can be used (with this new information) as a container wait strategy.

    But this information can be useful even for standard solace setup (using docker container for example) - to show the time when user can manually configure solace.