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

learn more… | top users | synonyms

3
votes
2answers
2k views

How Do I Log USB Modem AT Command Output?

I want to be able to send the command "AT+CSQ" to /dev/ttyUSB1 every 5 seconds, and log out response to a text file. I can do it manually via screen (screen /dev/ttyUSB1 and type in AT+CSQ and see the ...
1
vote
1answer
74 views

Upstart doesn't produce any log on Ubuntu Raring [duplicate]

I've just installed Ubuntu 13.04 and added custom upstart scripts. These scripts work well and are already in use on other hosts (not Ubuntu). The problem is, upstart doesn't produce any log of what ...
2
votes
1answer
855 views

How to make honeyd save logs in rsyslog

I have a standard install of honeyd from Ubuntu repositories. Honeyd is saving logs in two files: /var/log/honeyd/honeyd.log /var/log/honeyd/daemon.log I have been trying to setup rsyslog to forward ...
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 ...
0
votes
1answer
574 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 ...
4
votes
1answer
1k 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?
2
votes
1answer
379 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
50 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 ...
0
votes
2answers
457 views

How to tell what is logging bandwidth

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 ...
2
votes
1answer
3k 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
131 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.
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
5answers
2k views

How to log memory usage per minute on Ubuntu Server?

I checked few programs such as htop or top command but couldn't find any features for logging per minute. Is there a way to do that for tracking memory issues ? edit: I was using linode and decided ...
9
votes
2answers
960 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 ...
3
votes
2answers
4k 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 /etc/apache2/conf.d/...
8
votes
3answers
749 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" reason="...
2
votes
1answer
604 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
1answer
543 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- ...
3
votes
3answers
7k 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 --...
6
votes
1answer
355 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
193 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
6k 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 ...
1
vote
1answer
1k 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 ...
-1
votes
1answer
56 views

apt-get and login problem

I had a problem when I try to update my ubuntu "12.04LTS": Accidentally I turn off my computer, while the update was running. When I turn it on and try to complete the update, he always told me, that ...
2
votes
1answer
49 views

Which logfile(s) log(s) errors reading a cd?

I introduce a CD-RW, maybe blank (I really don't know), and after a little movement inside the reader, the CD is ejected without any message at all. I would like to know what is going on and the ...
2
votes
1answer
2k views

How to change location where logs are stored?

I am running out of space and would like to move my logs to recover some room on my SSD. My question: I have an SSD (mounted at /) and regular hard-drive (mounted at /mnt/d2). How can I change it so ...
1
vote
3answers
707 views

tail stops displaying in case of a log rotation

I have to tail the log of a server (servicemix) and the log rotation is enabled. As soon as the rotation happens, tail stops displaying. I did some investigations and it is a bug in Debian : Debian ...
3
votes
2answers
7k 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 ...
2
votes
1answer
360 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 ...
4
votes
1answer
4k views

How to find an ip of connected vnc client from vncserver log?

I run the vncserver using vnc4server. I take a look in ~/.vnc/ubuntu:1.log It only show something like this. Sat Oct 6 20:40:12 2012 Connections: accepted: 0.0.0.0::2043 SConnection: Client ...
3
votes
1answer
614 views

Is there a log for copied files?

Suppose someone copies a file to a DVD or pendrive. Is there a log where I can see that?
3
votes
0answers
70 views

How to log processes in daemon-mode?

I would like to save the standard output of the program motion in a text file. If I don't use motion in daemon-mode I would simply do it by: motion > log.txt But what is the equivalent when I ...
3
votes
3answers
4k 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 ...
2
votes
1answer
212 views

How do I clear a log file that is currently in use?

I'm trying to clear a log file in use, and all the commands I've tried so far: truncate less tail filename Don't get the job done. Deleting the file and creating a new file with the same name doesn'...
10
votes
6answers
30k 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 ...
2
votes
2answers
1k views

What does “command returned 1” mean?

I am trying to get a command to execute from within my MythTV interface on a Mythbuntu computer. When I try a test command, touch /home/mythbuntu/test, it doesn't work, and I see this entry in /var/...
1
vote
1answer
849 views

Quickly: Logging from Python application

Consider the following truncated source file (an empty Quickly application with unnecessary lines stripped): import logging logger = logging.getLogger('foobar') class FoobarWindow(Window): ...
3
votes
1answer
177 views

Where are logs stored?

AFAIK applications in Ubuntu track activity and errors beyond what is covered by the "Privacy" setting. (Including, for example, login/logout/shutdown times.) Where are these logs stored?
0
votes
1answer
3k 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. I'...
0
votes
1answer
299 views

How do I increase the verbosity level of nvidia's drivers in Mythbuntu 12.04?

nvidia says to do this: % startx -- -verbose 5 -logverbose 5 But how can I do it without using startx?
0
votes
1answer
575 views

Computer under Ubuntu 12.04 randomly locking up when inactive

I am sure someone has had a similar problem somewhere in the world, but I've not really been able to find a way out of this. My install is as clean as I can make it (what can you do wrong with Ubuntu!...
3
votes
1answer
741 views

Can't set up public key ssh authentication

I have a fresh install of Ubuntu 12.04. I'm trying to setup ssh public key authentication. Unfortunately, it refuses to work. Running the ssh client in verbose mode I can see that the public keys are ...
8
votes
2answers
8k 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 ...
5
votes
3answers
8k 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 ...
3
votes
1answer
181 views

Is there a way to track a run away process?

Recently I've been getting a rather annoying problem, which seems to be linked to Firefox-Trunk, Thunderbird-Trunk, or possible Compiz (default 12.04 compiz with Unity). At random (it seems) the ...
2
votes
1answer
189 views

Could rsyslog be purging log files?

Today I found a lot of log files empty, these were: /var/log/auth.log /var/log/syslog /var/log/daemon.log /var/log/kern.log /var/log/mail.log /var/log/user.log /var/log/mail.info /var/log/mail.warn /...
0
votes
1answer
1k views

kern.log y syslog crecen demasiado / kern.log and syslog grow too much

Primero felicitaciones, y gracias, ubuntu 12.04, es, impresionante, e impecable. Ahora tengo esta pregunta, los archivos /var/log/kern.log y syslog crecen demasiado, mas de lo que he visto ...
1
vote
0answers
297 views

.ICEauthority is missing [duplicate]

Can I create a new file .ICEauthirity or download it from anywhere? Problem is when I logging in.There is this error message "Can't update .ICEauthority home/user/.ICEauthority".But there is no such ...
3
votes
1answer
309 views

Does the new “privacy” button have a log?

I was just wondering if there was a log that shows exactly what the various applications are taking a history of?