Recording activity on the system (or of a particular program) for later reporting and analysis. Logins, logouts, web server page requests, etc might all be logged.

learn more… | top users | synonyms (2)

28
votes
6answers
3k views

Advantages of using .msi files?

What are the advantages of using .msi files over regular setup.exe files? I have the impression that deployment is easier on machines where users have few permissions, but not sure about the ...
1
vote
1answer
28 views

Apache logging not working

After upgrading from 2.2.7 to Apache 2.4.9 seems that logging doesn't work properly. Only things which are logged are modsecurity and fcgid events, but nothing from Apache like file not found errors. ...
1
vote
2answers
2k views

How to make Tomcat 7 log debugging info?

Tomcat 7 takes more than 21 minutes to start: ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1290787 ms When it finishes it says that it's scanning JARs ...
-1
votes
0answers
23 views

Recommended FOSS for Linux log monitoring and alarm triggering? [on hold]

We currently have some Asterisk boxes. These boxes generates some WARNING and ERROR messages to log files in /var/log/asterisk. We need some software for active and real-time monitoring on these log ...
-2
votes
1answer
50 views

Bash script to install packages and report to log file [on hold]

I want to be able to log result of running bash script to file. Script itself is pretty simple, its used to install basic packages on fresh install machines and it scheme looks like this sudo apt-get ...
1
vote
3answers
687 views

How do I capture the output of a tty while still allowing sent characters to reach the correct destination?

I currently have some systems that multiple people have access to for administration purposes. We've modified the history log so that we capture 2k lines of history per user to help aid in who has ...
2
votes
3answers
75 views

Common login script

Few weeks ago I thought it would be a good idea to write a script which should send me an email whenever some user would log in into my server. So I came to a perfectly working script ...
3
votes
1answer
25 views

Is there a way to determine the log format if given a “.log” file?

Is there a way to determine the kind of log (so that it can be parse correctly) if I have no prior information about the type (for eg. syslog, apache log, IIS log) of log it is? I am trying to write a ...
0
votes
0answers
28 views

How to get the access to the inner logs of HP printer? [on hold]

I would like to receive confirmation of the printing event from my HP LaserJet 700 M712. Have no idea, what would be the better way to optain this information. I may guess that printer write logs or ...
0
votes
2answers
37 views

View realtime list of connections to Postfix

I am running Postfix on a linux box with a couple hundred local users with mailboxes. Is there a way to monitor all incoming connections (SMTP) to the Postfix service? I.e. a live stream of "IP ...
1
vote
4answers
8k views

How to redirect tomcat console log to files? Tomcat started via windows bat

When tomcat started as service it put his output log in \logs\stderr.log \logs\stdout.log How to write this log files when tomcat started as bat in windows? PS. tried to start tomcat with call ...
0
votes
1answer
32 views

Rotate whole /var/log

I want to rotate the whole /var/log folder on my server every day so I have the /var/log folder and compressed files like "log.1.gz" which contains the whole directory. I can't found anything on the ...
-3
votes
2answers
33 views

How to monitor and list modified files server wide for brief periods of time?

I would like to, from time to time, enable server-wide file monitoring that will show me all files being modified, updated and created while I have it running and thus simply spewing forth a list of ...
-1
votes
0answers
22 views

How to correlate apache events among a web cluster?

We have a cluster of about 200 web servers. From time to time we'll have an event occur where a subset of those servers will trigger the monitoring software to restart the apache daemon. We can get ...
5
votes
4answers
64 views

sshd logging attempts to login without a private key

On my VPS, running Debian 7, I have ssh enabled on the default port 22 with only private key authentication enabled, all other ports are filtered with iptables. I am frequently getting login attempts ...
-1
votes
0answers
18 views

Is there a way to recover lost logs in Nginx? [duplicate]

I have a fedora based server with nginx installed on it. I was taking logs and using logrotate, rotating them on a daily basis. Here's the configuration /etc/logrotate.d/nginx: /var/log/nginx/*log { ...
1
vote
1answer
37 views

When cron is completed How to get email notification and log in a file (both)

I am a Newbie to linux. I'm trying to figure out things. Can someone kindly help me how to combine these two commands? (1) Normally cron can results can be directed to a log file by editing crontab ...
0
votes
1answer
25 views

Apache https error log

We have a website running on Apache. Users can access part of it by HTTP and the other part by HTTPS. Apache is logging HTTP errors but not HTTPS errors. However, both log access. How can I solve ...
1
vote
3answers
1k views

Security Log in Event Viewer does not store IPs

I'd like to write a service that pulls Event Viewer records, specifically from the Security log. Of particular interest to me are things like event id 4625 (audit fail) messages. Ideally I'd like ...
0
votes
1answer
1k views

Setting up Splunk/IronPort WSA

I recently stumbled across Splunk 4 (by way of an advert on this very site...) and found that it had an "App" that's designed to work with Cisco IronPort WebSecurity and E-Mail Appliances! That's ...
0
votes
2answers
735 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 ...
1
vote
1answer
19 views

apache2: log requests from LAN to separate logfile

I would like to separate apache 2.2 log entries in 2 log files: requests from LAN (192.168.0.0/16) should go in a lan-access.log, and the rest in the default access.log How can I achieve that? I've ...
0
votes
1answer
712 views

SFTP logging in Solaris Server using 'internal-sftp'

I'm trying to enable logging for SFTP file transfer (without help of any opentools) on solaris 10 using "internal-sftp" but couldn't see any info about file transfers. Please help. **#Argument in ...
1
vote
1answer
33 views

Show real server name in nginx logs and params passed to fastcgi?

I have configured my nginx vhosts with a regex in server_name. nginx shows the raw regex in logs and in params passed to php-fpm (I know there's $_SERVER['HTTP_HOST'] with a real value, that's not an ...
0
votes
1answer
21 views

Trying to log with runit only returns 'unable to open supervise/ok'

Installed runit in Debian 7.4 in a Vagrant. My run script is working, but the moment I create a service/pants/log/ directory I start getting the following error: unable to open supervise/ok. My ...
4
votes
2answers
215 views

Cannot find upstart logs in syslog despite a log-priority of debug (ubuntu 13.04 & mint 16)

I've set upstart log level to "debug" sudo initctl log-priority debug But I still cannot see anything in /var/log/syslog. sudo initctl emit hello # no log sudo initctl start my-broken-service # ...
0
votes
1answer
34 views

Correlating data within Kibana

I'm looking at aggregating data within the whole ELK stack (Elasticsearch/Logstash/Kibana) and I'm getting lots of good data from my windows systems. It's working very well, but when i get Windows ...
0
votes
2answers
1k views

IIS Advanced Logging Forward to Syslog

I am looking for a method that would allow us to forward the IIS Advanced Logging logs to a centralized log source via syslog or something similar. We are able to perform this currently for the ...
0
votes
2answers
825 views

PPTP traffic logging

I am running pptpd on a Centos 5 machine but I didnt set up any logging. In case of an abuse, I need to determine which of my users did the bad things, meaning I need to log all the traffic. I may ...
0
votes
1answer
43 views

Strange GET requests on Apache and a lot of 404 errors every day

It's been about a month since I have been receiving strange requests to my website. It's self hosted on a VPS and some of those requests are noted by Google Analytics too. I really tried to figure ...
1
vote
4answers
517 views

Make cron log rsync only if there was transfer

I have this crontab running every 5 minutes: date >> ~/18/rsync.log rsync -vaz user@r18:~/assets ~/18 >> ~/18/rsync.log 2>&1 It adds this to the log file every 5 minutes: Thu ...
-1
votes
1answer
19 views

Alerting on threshold crossing?

We are using logstash + elasticsearch + Kibana to parse, store and view our logs respectively. Now, we want a notification/alert when a threshold for a particular log or threshold for a particular ...
1
vote
0answers
31 views

Where does cPanel, Apache, or Nginx log php script access?

Synopsis Earlier today a website went down due to some database issues. After some investigation I found out that some tables were missing data. In order for me to rule out "accidental deletion" by ...
0
votes
2answers
1k views

how change nginx temp & log folder or disable logging completely

I'm running nginx 1.3.5 under windows seven, I need to execute nginx directly from a read-only media (CD or DVD), but when I want to run it, it fails with this error: nginx: [alert] could not open ...
0
votes
0answers
7 views

How to get log of the addres that mod_rewrite is redirecting to?

I have defined a rewrite rule that is creating an 404. But I can't find any additional information about where the Apache is really looking for the file so it can't find it and also I don't see ...
0
votes
1answer
979 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 ...
0
votes
0answers
20 views

ELSA configuration

I have an ELSA install I'm trying to get working on Scientific Linux 6.4, importing logs from a local OSSEC server (i.e. they're on the same server). I've followed the documentation such as it is, and ...
0
votes
3answers
769 views

Is there a tool similar to pflogsumm (Postfix logs parser) for Dovecot?

For monitoring my Postfix install I'm using pflogsumm, which parses the Postfix's logs and generates a nice summary. I tried to find a similar tool for Dovecot, but couldn't. Is there such a thing? ...
0
votes
1answer
58 views

In sensu, how to configure log level?

I've just installed sensu (with the debian "omnibus" package) and I couldn't find any way to change the log level. Is there any way to do it in both client and server?
0
votes
1answer
19 views

Advanced Squid Log Analysis

We are currently using sarg to analyse our squid proxy logs, while it works ok, its not really amazing and we could do with a bit more information. The main thing we would like to do is be able to ...
0
votes
1answer
26 views

Integrating Zenoss (mail data Logs) with MySql database table?

I have installed Zenoss monitoring tool on my pc and I want to store every outgoing email from the zenoss to a database. Does any one know how I can achieve this. FYI I just use this server to send ...
0
votes
1answer
689 views

Changing location of ClamAV logging files

I've run into a weird problem with ClamAV that I have been unable to resolve, due to a incredibly non-informative error message. I've installed ClamAV via aptitude on an Ubuntu box (ClamAV ...
0
votes
4answers
173 views

Monitoring important log files on multiple linux hosts?

I have a few servers running on AWS and have Nagios/Icinga doing the monitoring of all critical services. We're trying to figure out the best way to monitor all logs - system, DB, PHP, Apache, etc - ...
0
votes
2answers
951 views

How to monitor bandwidth usage in Tomcat?

I am running an Apache Tomcat 6 website and would like a way to somehow log the amount of bandwidth used for each virtual host on the site. Is there such a plugin or logging class that I could use to ...
1
vote
0answers
79 views

View dropped/rejected SMTP sessions in Exchange 2010

I am troubleshooting a problem trying to SMTP into an Exchange 2010 machine. I would like to view SMTP logs to see dropped or rejected sessions in order to try to figure out exactly why the sessions ...
0
votes
2answers
42 views

Apache logging - root user changes groups

I have an issue where I get the following error when trying to download apache logs: rsync: send_files failed to open "/var/log/apache2/log-filename": Permission denied (13) The command I'm running ...
0
votes
2answers
79 views

how to manage the whole /var/log for centralization? [closed]

I have several servers (Linux, various distributions managed by different people) which logs I would like to centralize in splunk>. The logs are gathered in /var/logs but the sources either update ...
2
votes
3answers
266 views

Varnish Cache logging to MongoDB

I want to stream Varnish's log into MongoDB for realtime reporting. Can this be configured directly within Varnish or can the official Varnish-Agent (https://github.com/varnish/varnish-agent) be used ...
2
votes
1answer
38 views

How can I avoid logging file not founds commonly caused by vulnerability scanners?

My apache logs are pretty much full of 'admin.php' not found or unable to stat and similar statements for wp-login.php, default.php, and so on that are often sought after by vulnerability scanners. ...
4
votes
2answers
210 views

Weird Apache Access Logs

I see repeated requests like these in my Apache Access Logs and they have been eating up all my CPU. I have a normal WordPress installation. All i changed in the Apache Configuration was changing the ...