Sponsored Content
Top Forums Web Development How to stop my the logging of my IP address? Post 302938206 by Xcislav on Friday 13th of March 2015 02:25:20 AM
Old 03-13-2015
Hammer & Screwdriver How to stop my the logging of my IP address?

A Gbytes long log
Code:
/var/log/apache2/access_log

causes my question: How to stop my IP logging (just because of frequent AJAX/setTimeout).

As config:
Code:
SetEnvIf Remote_Addr "ip\.ip\.ip\.ip" dontlog
CustomLog /var/log/apache2/access_log common env=!dontlog

In
Code:
/etc/apache2/httpd.conf

Didn't work THEN those six guessing lines were added:

Code:
SetEnvIf Remote_Addr "ip\.ip\.ip\.ip" dontlog
SetEnvIf Remote_Addr "ip\.ip\.ip\.ip" nolog
SetEnvIf Remote_Addr "ip\.ip\.ip\.ip" no_log
SetEnvIf Remote_Addr "ip.ip.ip.ip" dontlog
SetEnvIf Remote_Addr "ip.ip.ip.ip" nolog
SetEnvIf Remote_Addr "ip.ip.ip.ip" no_log

and didn't work either!

Code:
tail /var/log/apache2/access_log

Is STILL the same:

Code:
ip.ip.ip.ip - - [13/Mar/2015:07:41:55 +0200] "GET /.ab/b1.php HTTP/1.1" 200 149
ip.ip.ip.ip - - [13/Mar/2015:07:41:55 +0200] "GET /.ab/b1.php HTTP/1.1" 200 149
ip.ip.ip.ip - - [13/Mar/2015:07:41:55 +0200] "GET /.ab/b1.php HTTP/1.1" 200 149

Appreciate your help
and thanks in advance!

Last edited by Xcislav; 03-13-2015 at 07:37 AM..
 

10 More Discussions You Might Find Interesting

1. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

2. Solaris

editing syslog to stop a particular daemon logging

Hi there I get the following message im my messages file 2 or 3 times a second Dec 4 11:44:18 my-box in.timed: connect from localhost I would like to stop in.timed from logging to syslog altogether as this message is filling up my disk. I dont want to stop daemon.info altogether... (0 Replies)
Discussion started by: hcclnoodles
0 Replies

3. UNIX for Advanced & Expert Users

how to stop others users to stop viewing what i am doing ?

Hi , I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing . Now i want to stop others users to know what i am doing accept the root ? can i do this ? thanks (5 Replies)
Discussion started by: mobile01
5 Replies

4. Solaris

stop wtmpx logging

Hello One of our applications initiates an ftp logon to itself twice every second ...(to check some files or something im not sure) but every time it does this it logs an entry into the wtmpx database, this file is now getting absolutely huge and whilst I know that I could implement some type of... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

5. Shell Programming and Scripting

stop logging when executing a script

Hi guys if for every command you issued successfully where to be logged from a script and them sent an email to the admistrator how could i stop that so that i wouldnt have to delete admin mail all the time. I would only want to produce output if there was an error. (5 Replies)
Discussion started by: musicmancanora
5 Replies

6. UNIX for Dummies Questions & Answers

Panic kernal-mode address fault on user address 0x14

:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message: PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14 KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD) EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies

7. Post Here to Contact Site Administrators and Moderators

Constant Logging In (After Logging Out)

Hi Everyone. First, I want to thank all of you for letting me participate in this great group. I am having a bit of a problem. After I get an email from a responder, I login to make my reply. In the mean time I get another response by email from another member, I go to reply to them and I... (6 Replies)
Discussion started by: Ccccc
6 Replies

8. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

9. Linux

Syslog not logging successful logging while unlocking server's console

When unlocking a Linux server's console there's no event indicating successful logging Is there a way I can fix this ? I have the following in my rsyslog.conf auth.info /var/log/secure authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies

10. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
ncalogd.conf(4) 						   File Formats 						   ncalogd.conf(4)

NAME
ncalogd.conf - NCA logging configuration file SYNOPSIS
/etc/nca/ncalogd.conf DESCRIPTION
The ncalogd.conf is used to configure Solaris Network Cache and Accelerator ("NCA") logging. The file contains two fields, key and value. The status key is used to indicate if the user wants to have NCA logging turned on. If the value of status key is enabled, then NCA logging will be turned on. If the value of the status key is disabled, then NCA logging will not be invoked. The default value is disabled. The logd_path_name key specifies the absolute pathname of the log file. The log file must be a raw device without a filesystem or a file on a local file system. The default value is /var/nca/log. logd_path_name can also contain a whitespace-delimited list of values for multiple log files to a maximum of 16. If you specify multiple log files, you must enclose the list in quotation marks ("). With multiple files, NCA logging moves to the next file on the list once the file size specified by logd_file_size has been reached. When the last file is full, NCA logging rotates back to the first file in the list. A pointer to the current log file is stored in /var/nca/current. The logd_file_size key specifies the value of the file size, in bytes, allowed for each log file specified in by the logd_path_name key. The default value is 1000000 bytes. In order to implement changes to the ncalogd.conf file, you will need to stop and start NCA logging or reboot. NCA stores logs in a binary format. Use the ncab2clf(1) utility to convert the log from a binary format to the Common Log File format. EXAMPLES
Example 1: A Sample ncalogd.conf File The following is a sample ncalogd.conf file that specifies three log files: # # NCA Log Daemon Configuration File # status=enabled logd_path_name="/var/nca/log1 /var/nca/log2 /var/nca/log3" logd_file_size=1000000 Note that there is no NCA logging daemon. Logging is performed as one of the functions of the NCA software. FILES
/etc/nca/ncalogd.conf Lists configuration parameters for NCAlogging. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWncar | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
nca(1), ncab2clf(1), ncakmod(1), dd(1M), door_create(3DOOR), nca.if(4), ncakmod.conf(4), attributes(5) System Administration Guide: IP Services SunOS 5.10 22 Jan 2002 ncalogd.conf(4)
All times are GMT -4. The time now is 11:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy