cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all logs or list of all events triggered to my Kyma Function?

DhruvinM
Participant
0 Kudos

Hi Team,

We are trying to debug/check all the functions being called now we know we have the logs available on function/pods but we are not seeing any Logs there but from C4C I can see the call was made successfull.

But i am not able to see which function is being triggered, in Kyma console do we have any place where we can see all recieved messages/events/ etc?

BR

Dhruvin

View Entire Topic
KorbinianStoe
Advisor
Advisor
0 Kudos

Hi @DhruvinM ,

in the eventing-CR you could change the Log-Level to Debug. That will print much more information about whats going on in the eventing system.

To check for incoming events you would then have to check the logs of the eventing-publisher-proxy deployment.

Remember to disable this feature asap, as it generates many more logs than you would probably need.

the configuration is mentioned here. The configuration field in question is logging.logLevel.
Set its value to

```
logging:
      logLevel:  "debug"
```

 

Cheers,
  Korbinian

DhruvinM
Participant
0 Kudos

Hi Korbinian,

Sorry to come back to you late, but i think we have some issues with workload errors with image pull secrets missing. 

DhruvinM_0-1714466048882.png

Can you please help me how can i fix this?

BR

Dhruvin

 

 

 

Kwiatekus
Employee
Employee
0 Kudos
With https://github.com/kyma-project/serverless/releases/tag/1.4.3 we have patched the problematic configuration of secrets.
Kwiatekus
Employee
Employee
0 Kudos
With https://github.com/kyma-project/serverless/releases/tag/1.4.3 we have patched the problematic configuration of secrets.
Kwiatekus
Employee
Employee
0 Kudos

With https://github.com/kyma-project/serverless/releases/tag/1.4.3 we have patched the problematic configuration of secrets, unfortunately the warning event will stop be emitted by kubernetes after function pod restart. You can restart all the function pods in a given namespace by running

kubectl rollout restart deployment -l serverless.kyma-project.io/managed-by=function-controller -n {namespace}