# Disable IP logging?

**URL:** <https://www.ruby-forum.com/t/disable-ip-logging/194672>\
**Category:** NGINX\
**Created:** [September 8, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/disable-ip-logging/194672 "2010-09-08T20:56:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kivala](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e56c9b/32.png) [@kivala](https://www.ruby-forum.com/u/kivala)\
**Post date:** [September 8, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/disable-ip-logging/194672/1 "2010-09-08T20:56:47Z")

</div>

Hi!

I’d like to know if there’s a way to disable IP logging in Nginx; if I  
set a custom log and disable the IP logging it will disable the logging  
in the main log, but everything in error.log will still have IP logged  
in… is there any way to totally disable IP logging, either compiling  
with some special option or something?

I know there is a libapache-mod-removeip for apache, but i failed to  
find something similar for nginx…

Any suggestions welcome!

Thanks to whoever will answer my request, & thanks for this great piece  
of software!

Posted at Nginx Forum:

> **[Disable IP logging ?](https://forum.nginx.org/read.php?2,128530,128530#msg-128530)**
>
> Hi! I'd like to know if there's a way to disable IP logging in Nginx; if I set a custom log and disable the IP logging it will disable the logging in the main log, but everything in error.log will still have IP logged in... is there any way to...
