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

learn more… | top users | synonyms

1
vote
2answers
356 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
0answers
107 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 ...
13
votes
1answer
11k views

How do I find the last logged system boot and shutdown times?

I'm a Rails developer working on a web application on Ubuntu Server 10.04. Due to internal requirements, I was asked to find the last 10 system boot and shutdown times... I have no clue where to find ...
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
63 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
195 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 ...
5
votes
1answer
646 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
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 ...
1
vote
1answer
62 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
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
1answer
238 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
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.
10
votes
5answers
17k views

How to monitor & log server hardware temperatures & load

I am looking for a way to log & monitor my server hardware temperatures and load (like for CPU or RAM). How might I do that? Objective is to: ensure hardware is not heating up identify what ...
1
vote
2answers
332 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 ...
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: ...
9
votes
2answers
620 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
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 ...
4
votes
2answers
743 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
1answer
94 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
1answer
212 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
1k 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
74 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
1k 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
503 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
282 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
285 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
324 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 ...
14
votes
3answers
17k 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
2k 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
51 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
425 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 ...
10
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
2k 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
320 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
2k 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
398 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
37k 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
1answer
888 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
263 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
47 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 ...