Closed accolon closed 1 year ago
Hi,
just want to confirm your findings, I got the same behavior.
Regards
Christoph
Thanks for the report @accolon and @chrissi5120 - Is the request to simply add -passthrough-logs
to the supercronic starting flags so it mimics old cron
? Or would a better middle ground be the ability to add custom flags through an envar like SUPERCRONIC_EXTRA_FLAGS=
?
I'm leaning towards the second option if I am honest, this would then allow people to switch on the prometheus /metrics
endpoint etc too.
Hi!
personally I would always opt for an envar which is of course optional and well documented.
Thank you for your hard work.
I'm leaning towards the second option if I am honest, this would then allow people to switch on the prometheus
/metrics
endpoint etc too.
Sounds great, thanks! 👍
@accolon / @chrissi5120 - This feature has been tested and added under #205 - I've tested locally and it seems to work as intended
This will be picked up by CI/CD which will build this change into the next :latest
image, please may I ask you pull and test this and let me know your feedback
Works very well for my use case, thanks again! ☺️
The additional output by Supercronic combined with the unaltered Borgmatic output (after adding -passthrough-logs
) is exactly what I need.
success :)
I just used SUPERCRONIC_EXTRA_FLAGS with "-passthrough-logs" to begin with and nothing fancy like you guys.
Thank you very much!
Closing as seems to be resolved with https://github.com/borgmatic-collective/docker-borgmatic/pull/205
After updating to 1.7.6, the log output of the Borgmatic Docker container has become difficult to read since Supercronic is rather chatty, e.g.:
While this could be parsed automatically, it is quite difficult to read in a terminal session. I liked the old and simple output more.
Supercronic has a
-passthrough-logs
flag which avoids all the additional info: https://github.com/aptible/supercronic/pull/67It would be great if the supercronic call in
entry.sh
either added this flag (to emulate the oldcron
) or could support options to make this configurable.