Open bbockelm opened 1 year ago
This seems to describe the problem: https://stackoverflow.com/questions/6314285/java-util-logging-stops-working-after-a-while
TL;DR -- The logger itself may get garbage collected after being unused for a period of time. Solution is to ensure a gratuitous strong reference to it.
@jjg-123 - was this ever resolved?
Just as a FYI -- after upgrading to 5.4.1, I still see logs stop working after about a day.
I have a test issuer which is run at
trace
-level logging and is logging to stdout. This is preferred for me as the stdout is forwarded tokubectl logs
.However, after some amount of time (unclear if it is time-based or size-based; perhaps after some log rotation is triggered?), the flow to stdout stops. This is the only message:
Is it possible to keep the logs flowing?