The logging tag has no wiki summary.
2
votes
1answer
37 views
How should I setup email log notifications on Debian server
I've built lots of Debian servers. They hardly ever fail but when they do I've never had a good enough logging system. So I told myself this time would be different.
I've got Apache2 and MySQL happy ...
0
votes
0answers
26 views
how to log all forward ip address
I am running vpn servers, but some customers using vpn sending spams
so I want to log all ip forward information into a log file
eg: x.x.x.x(public IP)--->forward 10.0.0.x(vpn privated IP)
if ...
0
votes
0answers
6 views
CSF Log Watching
I run suphp so the uid of scripts is for the user not the webserver. My log files are also in /home/$user/logs/error.log
CSF only monitors
/var/log/apache2/error.log
However because of my setup i ...
0
votes
0answers
10 views
Can Octopussy use messages other than syslog style?
I am currently exploring different options for a centralized log server. We use both Linux (Ubuntu 10.04 / 12.04, LTS for both) and Windows, though for this specific issue only Linux is relevant.
I ...
0
votes
0answers
21 views
Why is Scribe log aggregator repeating category names when logging?
I'm talking about Facebook's log aggregation server for general use found here:
http://github.com/facebook/scribe
I'm using the scribe-cat program to send logs to Scribe like this:
echo "log" | ...
2
votes
4answers
54 views
How to aggregate new apache logs lines from multiple machines every hour?
I've built a system that needs to collect new apache logs from four machines every hour, merge them, process them and store them. For the task of collecting the new logs I've written a bunch of cron ...
0
votes
4answers
52 views
Monitor file copies with SCP done via SSH
Is there a way to keep a log of the files copied using SCP? I am administering a server which contains some files that should be monitored (in a specific folder and its subfolders), so when someone ...
0
votes
2answers
53 views
Managing a networked drive
We're having issues with people moving files both intentionally and accidentally on a networked drive. What would be a good way to establish accountability without bogging down the storage server? Is ...
0
votes
1answer
19 views
Windows firewall logging. Log file is always blank
I have read many similar articles and posts on how to enable windows firewall logging. I have Win2k8r2 server without any Active Directory, DC, domains and other complicated stuff. Almost all of this ...
1
vote
1answer
38 views
logging with named pipes
I have a lot of code I need to daemonize that prints to standard out. I am thinking of using the following shell script to create a named pipe so I can nohup a process while redirecting its output to ...
2
votes
1answer
38 views
Want to establish what MySQL DBs are “old”
I want to put some (minimal) logging on our MySQL server, with the aim of determining which DBs on the server aren't being regularly accessed. We intend to log for approximately a month, and any DBs ...
1
vote
3answers
50 views
Is there any log in SuSe Linux that tells if a machine hangs due to a runaway?
I have a SuSe Linux server that is hanging due to unknown issues, I'm to the point of wondering whether there is a runaway process being run every now and then that is causing it to hang.
The issue ...
0
votes
0answers
66 views
logrotate not rotates my logs
my logrotate works perfectly, except for this configuration:
/var/awdata/awarchive.*.log
/var/log/awstats.log
{
rotate 12
}
this is my logrotate -d /etc/logorate.conf
considering log ...
0
votes
1answer
29 views
How to debug Samba authorization (authentication) procedure
I'm running a small home network linux-based server which acts as an internet router, torrent client and file server. I have problems connecting Windows clients to server Samba shares ('user name or ...
0
votes
1answer
15 views
Squid access logging only specific ACLs?
In squid, is it possible to enable access logging only on a specific ACL?
If so, how?
We have done quite a few searches and were unable to find the proper conf syntax :(
1
vote
1answer
37 views
Separate access log to folder in Apache
Is there any way to make Apache create an access log for a single folder?
Files in this folder will be accessed very often, and I would prefer to avoid using any sort of script to generate the log.
...
0
votes
3answers
78 views
Log/Save domain users login/logout time on Windows Server 2008 R2
My idea is to make log-in and log-out scripts to capture the login/logout time and save it
to a file (or into a Database). But, i have no idea how to capture the time.
1
vote
2answers
56 views
HAProxy truncates the host_header part of some log messages
I've got an HAProxy instance configured to log to a special home-grown daemon that chucks the log files into a database. I've seen some issues on some log messages where the host_header field is ...
0
votes
0answers
36 views
mod_evasive doesn't log DOS attacks nor does it send an email
I have enabled mod_evasive module in Apache, and it worked after running test.pl and some other custom script that I have written, but it doesn't log nor send an email every time DOS attack in ...
0
votes
6answers
108 views
Log tcpdump Output
What I basically want is to to write all tcpdump captured packets to a file every 3 days. So basically tcpdump should run for 24 hours on day 1 and write the output to Day1.log and similar for Day2 ...
-2
votes
0answers
23 views
Free log analyser for hmailserver [closed]
I want free log analyser that work with hmailserver log. I want extract invalid email form log.
if you know free tools, please offer.
0
votes
0answers
16 views
Monitor bandwidth history from inet logs?
So, I went through the painful painful process of setting up awstats on a windows machine using WAMP and awstats customization. But, even running the scheduled task to push records and having to ...
0
votes
0answers
46 views
I have network and infrastructure tools scattered all around. Do you have some tips on a more centralized solution? [closed]
At the moment i have the following:
Network Monitoring - Paessler Network Monitor
Log Monitoring - Splunk
Asset Management - Open NMS
Help Desk / Ticketing - Zendesk
I am looking for a ...
1
vote
1answer
31 views
Windows Log File Aggregator
I have an application that logs app specific data to rotated log files. There are several servers doing their own logging, and I would like to aggregate these somehow into a central data store.
How ...
0
votes
1answer
43 views
How to configure php-fpm to log logs to log files configured in nginx virtualhosts
I have Fedora 16 with nginx and php-fpm. Everything is working very good. All logs with php notice,warnig error etc. are in /var/log/php-fpm/www-error.log. Is there a way to configure php-fpm to write ...
2
votes
0answers
84 views
How to Enable IPtables TRACE Target on Debian Squeeze (6)
I am trying to use the TRACE target of IPtables but I can't seem to get any trace information logged. I want to use what is described here:
Debugger for Iptables.
From the iptables man for TRACE:
...
-3
votes
1answer
65 views
How to setup a mail proxy which logs all emails to a database?
I'd like to setup a POP/SMTP proxy which logs all emails to a database. Nginx does support POP3 and SMTP but I didn't find any possibility to log the mails to a database.
Unfortunately the existing ...
1
vote
1answer
75 views
Apache httpd: Send error logs to syslog and local disk? Without touching /etc/syslog.conf?
I have an Apache httpd 2.2 server. I want to log all messages using syslog, so that the requests are sent to our central syslog server. I also want to ensure that all log messages are sent to local ...
2
votes
0answers
48 views
Log response body in nginx
How do you log the response body (not request body) in nginx? I could not find such a variable in any of the modules (only the request body).
We are using nginx as a reverse proxy/loadbalancer and ...
0
votes
0answers
24 views
BladeCenter DELL M1000e reset ALL servers logs at once
Some weeks ago, I did faced a crash on my bladecenter due to a cooling issue on our DC.
Everything is up now, and all servers contain by the bladecenter have been checked and are now correctly ...
0
votes
1answer
32 views
Mod Security log monitoring
Is there a web based log management utility present for Mod Security? As parsing the logs of Mod Security is a big headache. I can only see traditional log monitoring systems but not any, which is ...
0
votes
1answer
46 views
Iptables doesn't log to /var/log/kern.log or syslog
iptables -A FORWARD -p tcp -j LOG --log-level debug
or
iptables -A FORWARD -p tcp -j LOG --log-level info
or
iptables -A INPUT -p tcp -j LOG --log-prefix ' INPUT TCP ' --log-level 7
Doesn't log ...
0
votes
2answers
86 views
rsyslog: How do I direct messages from all remote machines to one file?
We have a syslog server and we have all our servers logging to it.
We want a sort of "catch-all" drippan rule for all remote messages that we have not configured a rule for.
Anyone know how to ...
0
votes
1answer
36 views
Very large log file in My Documents [closed]
I'm using Windows Server 2008 R2.
I made a huge error in mysql and now have a large (18GB) log file in the administrator documents folder.
How do I delete it? It either says I don't have permision ...
0
votes
2answers
64 views
iptables log parser
I want a program who feed iptables log and print it in readable form.
This bugs me out:
Apr 23 19:36:27 ******* kernel: [ 8195.237958] iptables DROP: IN= OUT=wlan0 SRC=192.168.1.102 ...
1
vote
2answers
61 views
Advice on apache log files
I have a small VPS that a friend and I use to host a few websites. We are both relatively inexperienced with server management and are unsure of an effective way to deal with the logs that Apache ...
2
votes
3answers
157 views
rsyslogd: Any way to get around the number of local facilities?
We have about 9-10 appliances we want to direct the logging to our rsyslog server for. However, there's only 8 local facilities (0-7). How can we get around this limitation?
0
votes
1answer
53 views
Incomplete “File does not exist” Apache error message
I have the following problem.
Given the https://<servername>/apple/ empty directory.
If I refer to https://<servername>/apple/plum.html I see this error to appear in the ssl_error_log:
...
2
votes
1answer
28 views
Ossec fields to Oracle DB
I would like some recommendations for the following problem.
I use Ossec for log analysis. What I want, is after extracting the fields
to save them in an Oracle database.
For example, if I have this ...
0
votes
2answers
52 views
fedora tomcat log file path
My log file is inside:
kamil@localhost tomcat$ grep "logs/" ./*
./log4j.properties:log4j.appender.R.File=${catalina.home}/logs/tomcat.log
my CATALINA_HOME is
kamil@localhost tomcat$ sudo grep ...
0
votes
2answers
20 views
What is the “facility” of SnapGear SG560 System Log Syslog
My SnapGear (now McAfee) SG560 (firmware Version 4.0.10) has a "remote system log" feature, which can send syslog-type data to a host in my network. It's working, but writing to /var/log/messages. I'd ...
0
votes
1answer
32 views
Java creates three seperate log files with FileHandler, but only when run via cron
Pretty strange problem I've got.
I'm running a small java application every 10 minutes to do some database work. It logs its activity in a file. This works perfectly well except when it's run as a ...
4
votes
1answer
184 views
simple and reliable centralized logging inside Amazon VPC
I need to set up centralized logging for a set of servers (10-20) in an Amazon VPC. The logging should be as to not lose any log messages in case any single server goes offline - or in the case that ...
5
votes
1answer
154 views
How to maintain the log source host using logstash
I am following the steps in this blog to set up rsyslog + logstash + graylog2 and I can't figure out how to replace the @source_host attribute in logstash using the mutate -> replace filter.
In the ...
0
votes
1answer
188 views
Remote Desktop failed logon event 4625 not logging correctly on 2008 Terminal Services server
When I use the new remote desktop with ssl and try to log on with bad credentials it logs a 4625 event as expected. The problem is, it doesn't log the ip address, so I can't block malicious logons in ...
1
vote
2answers
31 views
Program to log when files are written to a folder
One of our companies server seems to have fallen victim to a php backdoor attack. I've managed to located and close several holes, but one seems to persist that is writing a php/webshell backdoor ...
1
vote
2answers
52 views
deleting/creating apache error log > log not updating
The error log file was quite big so I deleted it and created it again.. But now the error log is not logging/updating on errors?
Have tried to respart apache, but still the same..
I remember I ...
1
vote
0answers
32 views
What is the right syntax to enable logging in gnu screen?
I have set up a screen rc file like this:
log on
shelltitle apt
logfile $HOME/configs/screen/screenlogs/apt.log
logtstamp after 120
and I am starting like this:
screen -c ~/configs/screen/apt.rc
...
0
votes
0answers
109 views
Apply SetEnvIf after Apache RewriteRule
I have a working apache rewrite rule:
RewriteCond %{HTTP_HOST} ^.*foo.com
RewriteRule (.*) http://bar.com$1 [R=301,QSA,L]
and some working dontlog SetEnvIfs:
SetEnvIf Host "allrecallsapp.com" ...
2
votes
1answer
51 views
rsyslog appears to act on old configuration
I'm using a template to dynamically generate rsyslog filenames. I've made some changes from my original format, but rsyslog still appears to be using both the new template and the old after ...