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
Currently, Xline only supports redirecting logs to log files. The location of the log file and its rotation settings are determined by the command line parameters --log-file and --log-rotate. However, this approach may not be a good practice in a Kubernetes environment. The reason is that Kubernetes containers use overlayfs, and frequent logging operations can lead to unnecessary performance impacts. Additionally, in Kubernetes environments, kubectl logs typically retrieves logs from stdout and stderr. Redirecting logs to log files can affect the convenience of maintenance and debugging. Therefore, we need to support redirecting log information to stdout.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Description about the feature
Currently, Xline only supports redirecting logs to log files. The location of the log file and its rotation settings are determined by the command line parameters
--log-file
and--log-rotate
. However, this approach may not be a good practice in a Kubernetes environment. The reason is that Kubernetes containers use overlayfs, and frequent logging operations can lead to unnecessary performance impacts. Additionally, in Kubernetes environments,kubectl logs
typically retrieves logs from stdout and stderr. Redirecting logs to log files can affect the convenience of maintenance and debugging. Therefore, we need to support redirecting log information to stdout.Code of Conduct
The text was updated successfully, but these errors were encountered: