Skip to content

Need to set ServiceLog to STDOUT #40

@jonkeane

Description

@jonkeane

It appears that if one is using a config file, one needs to add the following for the logs to go to STDOUT which is needed for with-connect to tell if it has started up.

[Logging]
ServiceLog = STDOUT

Otherwise I'm getting errors like:

time="2025-12-30T19:10:06.578Z" level=info msg="Using file /var/log/rstudio/rstudio-connect/rstudio-connect.log to store Server Logs."

Traceback (most recent call last):
  File "/home/runner/.local/bin/with-connect", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/runner/.local/share/uv/tools/with-connect/lib/python3.13/site-packages/main.py", line 301, in main
    raise RuntimeError(
        "Posit Connect did not log HTTP server start within 60 seconds."
    )
RuntimeError: Posit Connect did not log HTTP server start within 60 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions