Skip to content

Commit

Permalink
remove size limit of log file
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshsahuoc committed Mar 10, 2022
1 parent 4dd4743 commit a60e285
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/acikubectl/cmd/debug.go
Expand Up @@ -535,19 +535,19 @@ func getOutfile(output string) (string, *os.File, error) {
}

func accLogCmdArgs(systemNamespace string) []string {
return []string{"-n", systemNamespace, "logs", "--limit-bytes=10048576",
return []string{"-n", systemNamespace, "logs",
"deployment/aci-containers-controller",
"-c", "aci-containers-controller"}
}

func accprovisionoperatorLogCmdArgs(systemNamespace string) []string {
return []string{"-n", systemNamespace, "logs", "--limit-bytes=10048576",
return []string{"-n", systemNamespace, "logs",
"deployment/aci-containers-operator",
"-c", "acc-provision-operator"}
}

func acioperatorLogCmdArgs(systemNamespace string) []string {
return []string{"-n", systemNamespace, "logs", "--limit-bytes=10048576",
return []string{"-n", systemNamespace, "logs",
"deployment/aci-containers-operator",
"-c", "aci-containers-operator"}
}
Expand Down Expand Up @@ -584,7 +584,7 @@ type nodeCmdArgFunc func(string, string, string, []string) []string
func nodeLogCmdArgs(systemNamespace string, podName string,
containerName string, args []string) []string {

return []string{"-n", systemNamespace, "logs", "--limit-bytes=10048576",
return []string{"-n", systemNamespace, "logs",
podName, "-c", containerName}
}

Expand Down

0 comments on commit a60e285

Please sign in to comment.