Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug log not working on nginx plus? #143

Open
oakh1 opened this issue Sep 28, 2023 · 0 comments
Open

Debug log not working on nginx plus? #143

oakh1 opened this issue Sep 28, 2023 · 0 comments

Comments

@oakh1
Copy link

oakh1 commented Sep 28, 2023

I am running latest version of Nginx Plus (nginx version: nginx/1.25.1 (nginx-plus-r30)) and the debug log of this module does not work.

I have defined the error log such as:

error_log stderr debug;

I have also tried setting it to (without success):

error_log stderr debug_http;

And the nginx is started with "nginx-debug" instead of regular nginx (as you don't compile the nginx plus with ./configure)

What's weird is that I see the regular debug log from the nginx instance itself (lots of it - but not just the debug log from the SPNEGO module.

As an example output from the "regular debug log":

2023/09/28 22:38:09 [debug] 9#9: *7 free rr peer 2 0
2023/09/28 22:38:09 [debug] 9#9: *7 close http upstream connection: 13
2023/09/28 22:38:09 [debug] 9#9: *7 http upstream temp fd: -1
2023/09/28 22:38:09 [debug] 9#9: *7 http output filter "/?"
2023/09/28 22:38:09 [debug] 9#9: *7 http copy filter: "/?"

What's interesting is that I see the error logs from the SPNEGO module though. For example:

2023/09/28 22:26:42 [error] 9#9: *5 Kerberos error: Credentials failed, client: 10.x.x.x, server: internal.lab.domain, request: "GET / HTTP/1.1", host: "internal.lab.domain"

Am I missing something really obvious here. I've read the documentation several times but either I'm blind or somethings fishy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant