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

Every request appears in error-log when IP limitation is on #36

Open
GoogleCodeExporter opened this issue Apr 22, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Turn AuthTokenLimitByIp on
2. Make requests to protected files
3. Watch the error log

What is the expected output? What do you see instead?
--> I do not expect every request to be logged as error ("polluting" the error 
log). Especially for environments with many hits to protected files this makes 
logfiles very large and makes it hard to find real errors in the log.

What version of the product are you using? On what operating system?
--> 1.0.6-beta or SVN version on Debian Squeeze. 

Please provide any additional information below.
--> The problem is mod_auth_token.c, line 159 
(http://code.google.com/p/mod-auth-token/source/browse/trunk/mod_auth_token.c#15
9) - this always logs requests with conf->checkip enabled with an error 
log-level, even if there is no error, like this:

[Sat Sep 01 00:01:46 2012] [warn] [client 1.2.3.4] mod_auth_token: request from 
ip 1.2.3.4, referer: https://www.example.com

I do not know if it's possible to use a lower log-level - otherwise I'd suggest 
to completely remove this log call.

Original issue reported on code.google.com by rkallensee on 10 Sep 2012 at 9:37

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

No branches or pull requests

1 participant