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

learn more… | top users | synonyms

0
votes
0answers
6 views

Logkeys logging wrong keys

Ok, so I tried the following: --us-keymap --keymap --export-keymap=FILE --keymap=FILE And a few others. Nothing seems to work. I'm running "Ubuntu 14.04" on my "HP Pavilion DV6." I've tried so many ...
1
vote
1answer
17 views

Is there a ready made logging server compatible with log4cplus?

Looking at the list of packages in Ubuntu, I could not find a package that could be used with log4cplus that would be a logging server. My idea would be to be able to send logs through a server so ...
1
vote
2answers
50 views

systemd on 15.04 won't log stdout of unit

I'm currently trying to make a systemd unit as a web server. Currently, my foo.service file looks as follows: [Unit] Description=The Foo Web Server [Service] Type=simple ...
0
votes
1answer
31 views

Problem logging into default Desktop Environment

I have just upgraded to Ubuntu 15.04, and now I have a problem. I cannot log graphically using the default desktop environment. When I log into the system it does nothing, and the logging screen ...
1
vote
0answers
36 views

kernel.log stays empty: “rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.”

I'm on a VPS (Ubuntu 14.04.2 LTS, Kernel 3.13.0-042stab094.8, rsyslog 7.4.4-1ubuntu2.5) and kernel.log stays empty with only this line: rsyslogd: imklog: cannot open kernel log (/proc/kmsg): ...
1
vote
0answers
17 views

How can I monitor multiple WordPress sites on Ubuntu better?

Our current monitoring solution relies on logs, and our WordPress install isn't generating much in the way of them. Is there a way to get WordPress to generate more logs? Or is there a better way to ...
1
vote
2answers
51 views

How to show a notification if a startup application ( or process) failed to start automatically

I added a script to autostart (using "Default applications for LXSession"). Later, I moved folder containing script. As result, autostart command was silently failing. How can I enable warning ...
0
votes
0answers
19 views

IPtables logging… continues after command is commented and old rules flushed

I have the following iptables script. I do a sudo to execute it but before doing so I run a sudo iptables -F to flush all old rules. Yet, there are entries with prefix of iptables2: #iptables -t nat ...
1
vote
1answer
19 views

Can iptables log be directed to different log files in different iptables command?

Can I have something like this: iptables -A INPUT -i em1 -j LOG --log-prefix='iptables1: ' iptables -t nat -A PREROUTING -i em1 -j LOG --log-prefix='iptables2: ' Here I have different log files ...
0
votes
0answers
17 views

Logwatch - attempts to use known hacks - very high amount of 1xx responses

I have found this in my daily logwatch report. Could you help me interpret. Thank you! 0.00 MB transferred in 500252 responses (1xx 500252, 2xx 0, 3xx 0, 4xx 0, 5xx 0) 500252 Other (0.00 MB) ...
1
vote
1answer
31 views

log cron job in real time

I have a Python process which I run nightly via a crontab. It scrapes an API which I have limited access to so regularly has to stop and wait for an hour. By my estimates the job should take 5-6 ...
0
votes
1answer
19 views

Identifying syslog files, also does auth.log mirror what is in /vars/syslog?

I am writing a auth log parser as a means to contribute to a tool and to learn linux logging better. I have been reading up on syslog and log facilities and was wondering if what is in auth.log will ...
0
votes
0answers
23 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
51 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
44 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
34 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
98 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
1answer
38 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
48 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
138 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
49 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 ...
2
votes
1answer
66 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 ...
1
vote
0answers
2k 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
26 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
35 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
15 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
75 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
59 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
37 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
31 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
71 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
265 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
104 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
178 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
269 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
30 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
47 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
62 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
194 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
58 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
22 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
69 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
121 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
232 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
63 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
48 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
86 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
330 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
726 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 ...