Skip to content

Commit

Permalink
klog
Browse files Browse the repository at this point in the history
Signed-off-by: desmax74 <[email protected]>
  • Loading branch information
desmax74 committed Aug 3, 2023
1 parent 41bc615 commit 399f854
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ In order to build the project, you need to comply with the following requirement
- [operator-sdk-v1.25.0+](https://sdk.operatorframework.io/docs/building-operators/golang/installation/)
- [Go 1.19+](https://go.dev/dl/)
- [Kubebuilder 3.7.0+](https://github.com/kubernetes-sigs/kubebuilder/releases)
- [CEKit](https://cekit.io/)

GNU Make:
Used to define composite build actions. This should be already installed or available as a
Expand Down Expand Up @@ -137,6 +138,27 @@ make deploy
make undeploy
```

### Change log level
By Default the log level is set to show only ERRORS with
```sh
- "--v=0"
```
inside the manager_auth_proxy_patch.yaml in the containers' section of kube-rbac-proxy and manager.

With the
```sh
make generate-all
```
whese values will be replicated on operator.yaml and on sonataflow-operator.clusterserviceversion.yaml containers' sections.

If you want to see the INFO msg replace v=0 with v=2 in the files during the development or in the deployment files on the cluster

The available levels are:
- v=0 > Error
- v=1 > Warning
- v=2 >Info
- v=3 > Debug

### Running the operator on the cluster

See the section on [README](../README.md#getting-started)
Expand Down

0 comments on commit 399f854

Please sign in to comment.