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

learn more… | top users | synonyms

0
votes
0answers
15 views

Audible verbal keystroke and mouse actions

Running Ubuntu 14.01. My desktop is usually on and connected via cable modem. Also using a VPN. Came home and found a box floating around my monitor telling me to check digital connection. Did a ...
0
votes
0answers
13 views

12.04 auditd will not record user login and logoff to audit.log

Auditd only logs events of types CWD, PATH and SYSCALL. It never seems to detect events of type USER_LOGIN for example. I have enabled rules to catch these login/logout events but they do not seem ...
0
votes
1answer
14 views

Conky - Command Output Display Limited to 256 Bytes 'tail -n20 logfile.txt'

I am trying to display the contents of a large log file on the desktop using conky. I would like the 'window' to occupy the upper half of the desktop, and show the 20 most recent lines. I use the ...
0
votes
0answers
26 views

How can I find out which application/service is filling up /var/log so MASSIVELY?

My laptop disk showed me that I had '0' bytes of free space left. I was in shock. I thought computers have started lying (that was the extent of my disbelief since there was absolutely nothing that I ...
1
vote
1answer
66 views

UFW - How to make it easier and what are stealth ports can UFW have these? [closed]

Let me show u what I jusat wasted 2 hours doing: To Action From -- ------ ---- 22 REJECT Anywhere 23/tcp ...
0
votes
0answers
17 views

A huge apt log file from failed upgrade - what went wrong & how do I fix it?

When attempting to upgrade from the 12.04 to a newer LTS it seemed to hang for ages (a good day or two) on "preparing for upgrade" and then the whole system started to suffer. Eventually I rebooted ...
1
vote
1answer
34 views

On startup, where does the output to dmesg get logged?

On startup, where does the output to dmesg get logged? Doesn't say on the man page: http://manpages.ubuntu.com/manpages/trusty/man1/dmesg.1.html
3
votes
1answer
130 views

Why shouldn't I use apt-get install --qq without a no-action modifier?

From man apt-get: Note that quiet level 2 implies -y; you should never use -qq without a no-action modifier such as -d, --print-uris or -s as APT may decide to do something you did not expect. ...
1
vote
0answers
40 views

Time format operator using logging in python

I need to know the time delta between 2 events. I'm using logging in a script like this: format='%(created)f % (message)s'. This returned me epoch time in seconds BUT in my case time delta ...
0
votes
0answers
31 views

keeping terminals open (with previous path) and applications in Ubuntu unity

I find particularly useful on laptops to keep open (gnome-)terminals (and eventually other applications) when logging out / turning off; I think this was the default in some older Xubuntu version I ...
0
votes
0answers
728 views

Ubuntu 14.04 - logrotate does not rotate /var/log/* (rsyslog config)

I have a bunch of Ubuntu 14.04 servers I manage where logrotate is not rotating anything under /var/log/. I'm going to assume its an issue with the /etc/logrotate.d/rsyslog as I see other entries in ...
0
votes
1answer
23 views

Bazaar checkout logging

Is there any checkout history logging in bazaar or is there a way to turn it on, or monitor checkouts on the server? thanks in advance
0
votes
0answers
29 views

Log total CPU load in script

I want to log the possibly precise CPU load every few seconds on a multicore machine. It seems like the ps command is not really precise. I was looking at uptime as it gives a % load in relation of ...
0
votes
0answers
8 views

Logging snmpbulkwalk with net-snmp

I am trying to log the command for snmpbulkwalk using the command snmpbulkwalk -Lf /etc/snmp/snmplog -v 2c -c public 192.168.2.4 1.3.6.1.4.9 I can see that the file /etc/snmp/snmplog is being ...
1
vote
0answers
48 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
0
votes
0answers
52 views

Blank screen after logging off - Ubuntu 14.04

Every once a while, more than often...... After logging out the screen goes blank instead of going to the account and login screen. Then I have to shut down my PC to get off the blank screen.
-1
votes
1answer
36 views

Create alarm on log system

I want to set an "alarm" on my Ubuntu machine that reports weird stuff happening in my logs. Let's say I want it to save information when a certain event occurs, for example somebody attempted to log ...
0
votes
0answers
24 views

What does it mean if kern.log is not being updated?

Ubuntu 14.04, all up-to-date, KDE desktop. I went to mount a USB drive, but noticed that the icon for the drive wasn't there on the desktop. I did a sync (just for safety) and then removed the USB ...
2
votes
1answer
62 views

Nothing after logging into account

I tried to install java and few other upgrades, so I found this website: http://itsfoss.com/things-to-do-after-installing-ubuntu-14-04/ and did basically everything. After reboot screen with the ...
0
votes
1answer
176 views

Location of PolicyKit log output

I'm trying to debug a new PolicyKit rule that looks like this: polkit.addRule(function(action, subject) { polkit.log("action=" + action); polkit.log("subject=" + subject); if (action.id ...
0
votes
0answers
85 views

No package 'liblogging-stdlog' found

I am doing experiments with different logging systems. At the moment I am trying to install rsyslog from source so I can make some modifications to it. I am using Ubuntu 14.04. I downloaded version ...
0
votes
1answer
140 views

“libsyslog-ng-3.4.8.so: cannot open shared object file” while starting syslog

I tried to install syslog-ng from source on a new Ubuntu 14.04 install. In anticipation of questioning why I did this, its because there are some changes I want to make to logging systems for ...
2
votes
3answers
233 views

How to make /bin/ps, called with aux as its argument, write to a file?

Is there a command line argument I can pass to /bin/ps -aux to make it write its output to a file? edit: To resimulate my issue: Open firefox Enable developer preferences (or as shortcut install ...
0
votes
1answer
26 views

Ubuntu does not login after resizing partitions with GParted

I recently needed to enlarge the windows 7 partition on my laptop and shrinked with GParted the one in which I have Ubunt. The problem is that now, after logging in, my desktop does not activate and I ...
0
votes
0answers
39 views

What negative consequences can come from disabling access time logging?

I'm using ubuntu 14.04 and I have a SSD hardrive on my Samsung series 9. I'm told to do stuff so that my SSD hardrive doesn't die young :) I have set my swappiness to 1 (from the default 60) to avoid ...
0
votes
1answer
54 views

Problem in Apache Error Log?

I'm new to PHP and UBUNTU, First of all, I'll install the wine windows program loader and download the Macro-media Dreamwear. before a day it working fine but yesterday it had some problem. I'll ...
0
votes
1answer
166 views

Why isn't auditd logging file deletes?

I have auditd installed on 64-bit Ubuntu 12.04 to track down some unexpected deletes (nice discussion of auditd). This is my rule (tagging deletes with the deletes keyword): -a exit,always -F ...
0
votes
0answers
43 views

Faillog - allowing a user read access for themselves

I'm trying to get each user on my system permission to read their own number of failed login attempts. Eg: faillog -u $CURRENTUSER Running this as any user except root gives me a 'permission ...
2
votes
1answer
2k views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
2
votes
1answer
21 views

A tool for monitoring changes in region of the screen

I'd like to monitoring changes in a region of a window, this windows is showing a virtual box machine, and I need to get a log with a timestamp of that changes.
0
votes
1answer
65 views

Where can I find a log or see the progress of importing images in MAAS?

It seems like you tell it to import boot images and then just wait blind for a few hours. Where can you find a log of what it is doing, or get the current progress (and if it has errors and quits, see ...
1
vote
3answers
118 views

Recent system logins

How would I be able to find logs of recent login or usage activity on my desktop? Is there a script or place in Ubuntu that holds data that tells you of recent logins from user, guest, or remote.
1
vote
1answer
203 views

System logs me off after I close laptop's screen

Hello everybody I have very anoying issue with my ubuntu 14.04. When I close the screen of my laptop, the system logs me off and I need to enter my password to log in again. That would not be a ...
1
vote
0answers
58 views

Change location of log file for “update-alternatives”

I am currently managing my logging system but while setting all log location a problem occured: I want to change the location of the file /var/log/alternatives.log and I have done some research. This ...
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: ...
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 ...
1
vote
2answers
313 views

Getting Error Log Information After a System Crash

Sorry, this is likely a bit of a naive question, but I'm having some trouble with my graphics drivers causing my system to shut off randomly (doesn't seem to be overheating but let's not worry about ...
4
votes
2answers
607 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 ...
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, ...
4
votes
1answer
3k views

Where are Upstart log messages on Ubuntu 13.X?

On Ubuntu 12.04, I can find Upstart log messages in /var/log/syslog. Commands: # initctl log-priority info # initctl emit hello Log: Apr 1 01:56:56 precise64 kernel: [ 8365.820425] init: ...
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
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.
2
votes
1answer
5k views

How to debug dpkg configure error in subprocess post-installation?

In short: I am trying to install spamassassin but dpkg returns only with: dpkg: error processing spamassassin (--configure): subprocess installed post-installation script returned error exit status 1 ...
5
votes
1answer
590 views

How to save live log bash input to a file?

When I am teaching a class, some students have problems following my CLI commands and would like to scroll back to be able to repeat the steps in their own speed. So I'd like to log all my inputs in ...
0
votes
2answers
304 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...
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
2answers
901 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 ...
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, ...
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 ...