You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Always seems to go to stderr. This causes false positives in the logs (using GCP in our case).
Dockerfile:
# Use an appropriate base imageFROM python:3.9-slim
RUN pip install yacron pyyaml
# Copy your yacron configuration file into the containerCOPY . .
# Copy the entrypoint script into the containerCOPY entrypoint.sh /root/entrypoint.sh
RUN chmod +x /root/entrypoint.sh
# Set the working directoryWORKDIR .
# Set the entrypoint to the scriptENTRYPOINT ["/bin/sh", "-c", "/usr/local/bin/yacron -c test.yml 2>err.txt"]
Description
Apologies in advance as I feel like I'm misunderstanding something here but no matter what I try the initial web message:
Always seems to go to stderr. This causes false positives in the logs (using GCP in our case).
Dockerfile:
and config:
With this config as a test the
err.txt
should contain the initial startup message. Despite claimingINFO
it seems that it was sent to stderr.The text was updated successfully, but these errors were encountered: