tokers commented on issue #159: URL: https://github.com/apache/apisix-helm-chart/issues/159#issuecomment-947495624
> * 部署到k8s后日志插件输出的日志在error.log中怎么看不到 > > ``` > /usr/local/apisix/logs # ls -l > total 4 > lrwxrwxrwx 1 root root 11 Oct 2 01:54 access.log -> /dev/stdout > lrwxrwxrwx 1 root root 11 Oct 2 01:54 error.log -> /dev/stderr > -rw-r--r-- 1 root root 2 Oct 20 07:46 nginx.pid > ``` > > * 这个error.log 为什么也打印重定向到了` /dev/stderr` > * k8s 下怎么看到这个日志输出 1. Make sure the log level is enough to show your logs. 2. The redirection was set up in the docker file. 3. just use `kubectl logs` command. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
