Adding messages, mostly warnings and/or errors, to a log file.

learn more… | top users | synonyms

1
vote
1answer
44 views

Config --no-log for an init deamon job

I have a proccess configured under /etc/init and it runs by the init deamon, and want this proccess to stop sending logs to the /var/log/upstart dir. I read this document: ...
9
votes
2answers
558 views

asynchronous logging via rsyslogd(8) and write buffer increase

On a pretty high traffic web site running in virtual containers (VMware) and lacking local storage, we've managed to increase throughput (requests per second) significantly by switching from logging ...
1
vote
0answers
77 views

Tracking active time Gnome session [duplicate]

for my job I want to track the time I am actually working on my computer. Therefore, I am wondering how it is possible to track the time I am logged in in Gnome but not locked the screen. Does anyone ...
4
votes
2answers
606 views

Rotating a log file in my home directory on Ubuntu Server 14.04 LTS

I have a log file ircd.log in /home/irc. I want to rotate it daily at 00:00 and keep 7 days. I want the rotated log files to be saved as ircd.log.YYYYMMDD for example ircd.log.20140505. Can someone ...
1
vote
0answers
27 views

Ubuntu 12.10 keylog problem

I have Ubuntu 12.10 running and I want to do keylog so I did the following: sudo apt-get update sudo apt-get install logkeys sudo logkeys –s –o /home/user/Desktop/output.log It creates a log file ...
1
vote
1answer
87 views

Where do Broadcom wireless drivers log?

I'm on Ubuntu Desktop 12.04 and I have a feeling that my laptop's Broadcom wireless drivers are the root cause of my machine crashing every so often without any reproducible reason. I'll spare you the ...
0
votes
0answers
145 views

how to make a separate log file for bind service in rsyslog?

I installed bind9 for name service on ubuntu12.04. Now for debugging its errors in name resolving. I need to make separate log file for it like /var/log/name.log. I searched too many for rsyslog, ...
0
votes
1answer
191 views

How is logging of automatic/schedules scans enabled for clam AV?

In this thread it is discussed how to log a scan by ClamAV. However, the suggestions are only for logging one-off scans triggered from command line. My situation is that I'm working in a setting ...
0
votes
2answers
900 views

Logging of commands executed in Bash

Sometime back, we had a requirement to log commands run on the terminal in the Bash shell. This was solved by means of a startup script with essentially the following contents: #!/bin/bash ...
0
votes
1answer
65 views

Library that will send me an email when the log file changes

I'm looking for a library that will send me an email when the log file changes. Is there any? Thanks.
1
vote
1answer
2k views

custom logs in rsyslog

I have configured rsyslog to log message to a centralised server it's working fine and I'm getting logs in my server's /var/log directory with seperate directory for all the clients based upon their ...
8
votes
3answers
462 views

How do I redirect Google Chrome Logs out of my kern.log

I have hundreds of these log entries: Feb 13 16:46:56 XXXX kernel: [42982.178922] type=1701 audit(1360799216.852:1514): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=5529 comm="chrome" ...
2
votes
1answer
274 views

How to Trace my Network's Steps

Question (concise version): Where in my log files would I find information regarding the networking steps executed between the time I have left the login screen and the time I have landed comfortably ...
0
votes
1answer
260 views

How to save “initctl” log-priority options?

I would like to save init log-prority debug options. What is the whole process from startup event? However, the init log-priority option to reboot and reset to the message. What should I do? If ...
0
votes
1answer
1k views

Sending UDP packets with `logger` command

I have couple different solutions for running custom syslog server (based on https://gist.github.com/marcelom/4218010). The problem I am facing is that the following command does not send UDP packets ...
3
votes
2answers
5k views

nagios3 Error: Could not read object configuration data!

I have a brand new install of nagios3 on ubuntu 12.04. After I log in to the web interface and click any link I get the error: Error: Could not read object configuration data! Here are some things ...
1
vote
1answer
300 views

what is the format of a log file? ( ex. Xorg.0.log…)

For example in Xorg.0.log ... [ 15708.908] (WW) And in the log files it states [ 15708.905] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, ...
-1
votes
1answer
32 views

Creating account

I'm trying to setup an account with ubuntu one and the software ask to type a word to continue, but that word is not visible, then when I click on create account, the software hangs on "creating ...
13
votes
3answers
16k views

How can I receive syslog logs from a networked system?

I'd like to configure Ubuntu to receive logs from a DD-WRT router. The router's configuration screen contains the following section: and its logging documentation reads: If you wish to send ...
2
votes
3answers
3k views

Getting notified of failed cron jobs

I'm concerned that cron jobs can fail silently for an indefinite period of time on vanilla Ubuntu Desktop 12.04.1 (Precise), and no one will notice. I would like to get a notification whenever a ...
0
votes
1answer
50 views

Need to return log in password

I removed the guest account and I only have an admin account, with an active password. Couple of weeks ago I disabled password through "terminal" command line. Today I want to return logging in with ...
2
votes
1answer
410 views

Why can't I access my desktop after installing Lubuntu?

I installed Lubuntu 12.10 in my netbook through USB Drive. Now I cannot get access in my desktop after login. I can see only one thing on my screen. Welcome to ubuntu 12.10(GNU/linux 3.5.0-17- ...
0
votes
2answers
1k views

How to give a program access to make file in root directory

i am running a program which uses log4j.The log4j uses rolling file appender.However its not able to create the file. I guess its because the creation of file need root access. The program is ...
9
votes
6answers
21k views

.xsession-errors file is huge. How can I disable? [duplicate]

I have visited over 30 different forum questions about this very same issue but none of them have been able to point me in the right direction. I don't care what is causing the issue. I don't care ...
1
vote
2answers
3k views

Xubuntu hotkey for immediate shutdown

I would like to create a two hotkeys. First for terminating all procesess and shutdown the system and turn computer off. I have tried something but it only logged me off and then I had to confirm I ...
0
votes
1answer
273 views

How do I log visited sites (for all users in a system)?

I want to log all sites users in my system visit. Is there any software for Ubuntu like Network Magic for Windows?
1
vote
3answers
3k views

ubuntu not logging in

i am using ubuntu 11.10 and i once i logged in and the screen flashed for a sec and came back to the same screen it is happening again and again. i put the ubuntu cd and almost reinstalled it while i ...
0
votes
1answer
383 views

Log incoming requests

We have Tomcat running on Ubuntu server. It runs a web service, open to the internet. Sometimes it has sudden spike of traffic and goes down. There is nothing unusual in Tomcat access logs. I guess ...
30
votes
4answers
34k views

How can I free space from a massive 39.5GB /var/log/ folder?

I just got a message from the default disk analyses software (Baobab) that I only have 1GB left on the hard drive. After some search, I found that the /var/log/ folder is the cause of this. Some ...
2
votes
2answers
4k views

How to enable logging for Google Chrome in Ubuntu 12.04?

I'm trying to capture the logs for a certain bug I'm having with Google Chrome. However, I can't find/enable logs for GC. According to this Chromium project page, I just need to add the flags ...
2
votes
1answer
819 views

Configure owner and permissions for upstart log files

When logging an upstart job with the standard console log stanza, can the resulting log files in /var/log/upstart be configured to be written with a mode or owner other than the default?
0
votes
1answer
2k views

How to determine file in “Error opening file for reading” error

Since Ubuntu 12.04, whenever I open aterm, I get the following error message: Error opening file for reading: Permission denied aterm still opens and runs correctly, but I get that error message. ...
2
votes
1answer
249 views

stdout log files from an executable

When starting an executable from the terminal various messages are printed in window. My question is where are these messages logged when you launch the application without a terminal ( by double ...
0
votes
0answers
11 views

Log file trigger execution of script [duplicate]

If there is an bad login to Mysql it is logged with the IP in /var/log/mysql/error.log. While that happens, I want a script starts with the log line as input parameter to the script. I was hoping to ...
0
votes
1answer
45 views

I have some problem in logging in

When I tried to log onto my user ID, it does not accept any password. Previously also, I used to confront the same problem. But then, I would go for opting 'switch user option' when a circular shaped ...
3
votes
3answers
5k views

Does pulseaudio have an error log?

In order to help provide better information for my other question about browsers and Pulse audio, I wanted to see if I could get some kind of helpful log information. However, there doesn't seem to ...
0
votes
1answer
294 views

How to tell what is logging bandwidth [duplicate]

I've been having everything that goes through my NIC logged and I'm not sure how it happened. The last thing I installed was webmin and I'm not sure if that changed a setting or not but as of today ...
7
votes
2answers
5k views

What do UFW's audit log entries mean?

I'm sometimes getting a lot of these AUDIT log entries in ... [UFW AUDIT] IN= OUT=eth0 SRC=176.58.105.134 DST=194.238.48.2 LEN=76 TOS=0x10 PREC=0x00 TTL=64 ID=32137 DF PROTO=UDP SPT=36231 DPT=123 ...
6
votes
1answer
896 views

How can I find out which programs have modified a file over some period of time?

I'd like to better understand which programs are modifying a specific file1 during a reboot. Can I set something up to log this kind of information? Polling for which processes currently have the ...
2
votes
1answer
2k views

how do I clear out log files and such [duplicate]

I have 9.5 GB of log files and would like to clear them from my system and keep that much stuff from being created, how do I do this? Here is the output from sudo du -sh /var/* ~/.xsession-errors: ...
2
votes
1answer
100 views

How do I set up a logging server for Access Points?

I have a linksys AP, nothing fancy, but it does have a logging utility. How do I make that send the logs my Ubuntu 12.04 server.
14
votes
1answer
11k views

Where are fsck results logged at boot time, after /forcefsck?

When working remotely I set a server to force an fsck at boot time with the sudo touch /forcefsck command and rebooted. After it restarted I checked in /var/log/fsck for the results of the disk ...
2
votes
1answer
1k views

ubuntu 11.10 /var/log/auth.log

I use Ubuntu 11.10. And I want it to write logging messages about failed ssh log in attempts to /var/log/auth.log. In my understanding /var/log/auth.log is supposed to hold all failed ssh connection ...
1
vote
1answer
832 views

Give rsyslog read access to all log files that I want to monitor

I'm using the $InputFile facility in rsyslog to monitor various log files scattered around my ubuntu 12.04 server. E.g. nginx, unicorn, rails, postgres, cron etc. Now my problem is, that some of these ...
2
votes
1answer
2k views

What is the default apache2 log format and where is defined such default?

I review (a fast reading) Apache Module mod_log_config and can't figure out what is the apache2 default log format and where is defined it. Any idea? Note that what is on ...
0
votes
1answer
324 views

Log file size or age

I'd like to change various log files (particularly auth.log) to retain info for anywhere from the last 30-90 days. Right now it only has about 4 days worth of info. How do I modify these settings ...
2
votes
2answers
2k views

shutdown logging in ubuntu 10.04 & 11.10

When my system starts up it logs everything into syslog/dmesg. And I can review it for problems. When my system shuts down, where does that get logged? I didn't see anything obvious in /var/log in ...
5
votes
1answer
266 views

How stop Ubuntu from reading my password out loud every time I log on?

I turned on a certain feature on the login screen and now my password is read out loud when I type it on login. What did I turn on, and how do I turn this back off?
3
votes
1answer
170 views

What's changing the owner on my log files?

I have several log files in /var/log/mythtv that need to be owned by mythtv.users. In versions of Ubuntu prior to 12.10 if I did: sudo chown mythtv.users mylogfile that worked fine and my log files ...
2
votes
1answer
4k views

rsyslog not rotating at fixed file size

I am trying to create a separate log file for a application in Linux. So far I have created a .conf script to separate log in custom log file based on program name and it's working correctly. But, I ...