1
vote
0answers
22 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
25 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: ...
4
votes
2answers
186 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
18 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
1answer
115 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 ...
1
vote
1answer
161 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
531 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 ...
0
votes
4answers
644 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 ...
0
votes
1answer
215 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
42 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
243 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 ...
2
votes
0answers
149 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 ...
2
votes
1answer
123 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?
2
votes
2answers
14k views

Unable to access the server via SSH?

when I am trying to access the server through ssh it says: ssh: connect to host xx.yyy.zzz.x port 22: Connection refused and on the server in auth.log it shows following log entry: Address ...
1
vote
1answer
95 views

Please suggest one free log manager which will help me to audit all system and services logs in organized format?

I have Ubuntu server 11.10 but without GUI, so it is fine even if that suggest a software or something like that which will intern help me do that. it will be grate if that software can export logs in ...
3
votes
2answers
4k views

syslog not showing log levels in messages

Here is sample output of my syslog messages in /var/log/syslog: Nov 15 20:20:48 ubuntu winbindd[915]: [2011/11/15 20:20:48.940063, 0] winbindd/idmap_tdb.c:287(idmap_tdb_open_db) Nov 15 20:20:48 ...