Questions tagged [logging]

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.

2851 questions
6
votes
3 answers

Office 365 Exchange client connection logs

We use Office 365 at our company and I was wondering if it is possible to see Exchange client connection logs in the admin panel anywhere? I want to identify what IP addresses outlook clients have been connecting from.
tomstephens89
  • 1,011
  • 1
  • 12
  • 24
6
votes
1 answer

How to find size of atomic write for nginx access log buffer?

This link says: The buffer size must not exceed the size of an atomic write to a disk file. For FreeBSD this size is unlimited. How can I find size of atomic write on my server? Is there any command to check this?
g13
  • 61
  • 5
6
votes
4 answers

How to log ssh client connection/command?

I would like to know how i could log SSH command lines a user is using on a server. For exemple, if the user Alex on my server is doing the following set of commands : $ cd /tmp $ touch myfile $ ssh staff@10.0.0.1 $ ssh staff@10.0.0.2 $ vim…
Kevin Merigot
  • 63
  • 1
  • 1
  • 4
6
votes
2 answers

Nothing is written in php5-fpm.log

I have two servers which is Ubuntu 12.04 and Ubuntu 14.04. When I use Ubuntu 14.04 in my new server and enabled the php-fpm log file found under /etc/php5/fpm/php-fpm.conf that reads as follows: error_log = /var/log/php5-fpm.log I noticed that most…
jaypabs
  • 823
  • 2
  • 10
  • 15
6
votes
0 answers

Set CMTrace Font

Might be a bit of a long shot but I was wondering if anyone knew of, or could speculate on, a way to change the default font of CMTrace. It seems to use some Sans-Serif font. I'd like to change it to any mono-spaced font so output from PowerShell…
klyd
  • 223
  • 1
  • 3
  • 7
6
votes
3 answers

Auditctl - filtering out cron messages

Im using auditctl and get a lot of logging events for crond. I do not wish to log any cron/crond events. node=127.0.0.1 type=CRED_DISP msg=audit(1405678801.149:5571): user pid=1757 uid=0 auid=0 subj=system_u:system_r:crond_t:s0-s0:c0.c1023…
Kiksy
  • 327
  • 1
  • 5
  • 11
6
votes
1 answer

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. Checking the Apache error_log, specifically after…
Ivan
  • 893
  • 2
  • 9
  • 23
6
votes
2 answers

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 DocumentRoot from /var/www/html to /var/www for…
Kanishk Dudeja
  • 173
  • 1
  • 10
6
votes
4 answers

Adding "URL" accessed to Apache Error log

We are getting "Allowed memory exhausted with PHP" where PHP is asking for Gigabytes of memory. How can I format the Apache error log to see which URL it was accessing ?
Rishav
  • 220
  • 2
  • 10
6
votes
11 answers

Security, user access, login and reporting. How do you mentally adjust for the negative aspects of security management?

Employees get laid off, do stupid things (like peek at a porn site), talk about personally offensive/suggestive subjects on IM & email. As IT Manager, I am tasked to lock user accounts, change passwords, and compile IM and email summaries for…
Jereme Hall
  • 83
  • 1
  • 6
6
votes
4 answers

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 from china under bogus usernames, such as "plesk"…
KaelanDuck
  • 61
  • 3
6
votes
2 answers

How do server administrators like their server logs?

I'm a software developer and I'm building an HTTP server. Since I have no experience in hosting and managing servers, I have problems with balancing logging performance with usability. For example, is it acceptable to use one log file per domain? Or…
hush
  • 61
  • 1
6
votes
1 answer

Combined log format POST size

I'm checking some combined Apache logs that looks like this: [19/Jul/2013:07:58:07 -0700] "POST /website.com/posting.php?mode=post&id=1 HTTP/1.1" 200 13258 I assume 13258 is the size and I assume it's 13k. But I know this was for like a 150k…
JoeSlav
  • 99
  • 2
  • 12
6
votes
1 answer

How to configure rsyslog to log into PostgreSQL without too much latency?

I'm trying to configure RSyslog on a Debian machine to log everythingo into PostgreSQL, while also logging as usual on disk. I'm using a pretty stock Debian configuration and I activated the related configuration directives after reading the…
Jonathan Ballet
  • 161
  • 1
  • 1
  • 4
6
votes
4 answers

MySQL log file disable

My question is how to stop logs on mysql log_error = /var/log/mysql/error.log i have commented already. with slow queries too. But i have one more log file in /var/lib/mysql/hostname.log with hostname I mean that for example I am on server called…
nonus25
  • 261
  • 1
  • 4
  • 9