File log plugin


#1

Hello,
Can anyone help me with file log plugin please.

I have configured file log plugin through Kong Ingress Controller

apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: file-log-plugin
namespace: jwks
config:
path: ‘/tmp/file.log’
reopen: ‘true’

Applied the plugin to service

apiVersion: v1
kind: Service
metadata:
name: oidc-test-service
namespace: jwks
annotations:
file-log.plugin.konghq.com: file-log-plugin
spec:
type: ExternalName
externalName: httpbin.org

But when I test request & response nothing is getting logged to file.log file. Can you please let me know if I’m missing something please.

Thanks and Regards,
Phani