-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date at keda operator logs not in correct format #3655
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
We're observing the same behavior:
I noticed there's nothing in the kedakore/keda repo that seems to indicate the log format can be changed, other than the docs. |
Hey, What do you mean as klog format? Do you mean the date? You can modify that format using the value |
Hi @JorTurFer - I'm saying that setting the
Am I missing something on how we can get the |
I can see that the chart overrides the command and uses provided values, so if you are using helm (I think so due to the parameter you sent), the value should be overwritten. |
I'm very sorry @JorTurFer - I was looking at logs from the Our logs for |
No worries at all, it happens. |
That said, I'd like to have the metrics-apiserver log in json format as well, primarily because all info logs are emitted to stderr and those show up as error logs in our logging system. Could this functionality please be added? |
Report
The keda-operator show logs with incorrect LEVEL TIME format. Example:
This is preventing the monitoring tool to correctly identify the error level at log message. The error was not happening at previous version used, KEDA version 2.5.0
Expected Behavior
The date/time should be in the correct format, like :
Actual Behavior
All the logs at keda-operator are been displayed with incorrect date/time.
Steps to Reproduce the Problem
Just check the logs from keda-operator
Logs from KEDA operator
KEDA Version
2.7.1
Kubernetes Version
1.22
Platform
Microsoft Azure
Scaler Details
Azure Service Bus
Anything else?
No response
The text was updated successfully, but these errors were encountered: