Set Logs
Kubemqctl
Helm
kubectl

Flags

Flag
Type/Options
Default
Description
--log-level
int
2
Set log level, 1 - debug , 2 - info, 3 - warn, 4 - error, 5 - fatal
--log-file
string
""
Set log file write path

Example

Set debug level:
1
kubemqctl create cluster --log-level 1
Copied!

Values

Flag
Type/Options
Default
Description
log.level
int
2
Set log level, 1 - debug , 2 - info, 3 - warn, 4 - error, 5 - fatal
log.file
string
""
Set log file write path

Example

Set debug level:
1
helm install kubemq-cluster --set log.level=1 kubemq-charts/kubemq
Copied!

Fields

Field
Type/Options
Default
Description
level
int
2
Set log level, 1 - debug , 2 - info, 3 - warn, 4 - error, 5 - fatal
file
string
""
Set log file write path

Example

Set debug level:
Run:
1
kubectl apply -f {below-yaml-file}
Copied!
1
apiVersion: core.k8s.kubemq.io/v1alpha1
2
kind: KubemqCluster
3
metadata:
4
name: kubemq-cluster
5
namesapce: kubemq
6
labels:
7
app: kubemq-cluster
8
spec:
9
replicas: 3
10
log:
11
level: 1
Copied!
Last modified 1yr ago
Copy link