The act of recording actions, requests, and other meaningful data in a computer. Often used for troubleshooting kernels, servers, etc.
Questions tagged [logging]
1099 questions
135
votes
6 answers
Why is CBS.log file size 20 GB
Two days ago I had a full C: drive, after which I deleted 8 GB of data. The next day the hard drive was full again, so I continued with deleting another 5 GB, and once again the next day the disk was full.
After some searching for what caused the…
skmasq
- 1,461
108
votes
3 answers
logrotate configuration file syntax - multiple wildcard entries possible?
Since the man page doesn't answer my question and I don't want to force a rotation cycle, I decided to ask the question here.
The man page for logrotate gives the following example:
"/var/log/httpd/access.log" /var/log/httpd/error.log {
…
0xC0000022L
- 7,544
- 10
- 54
- 94
70
votes
8 answers
How can I log all process launches in Linux?
I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?
Brandon DuRette
- 803
68
votes
6 answers
Log viewer on Windows
I'm a developer, and I generate big log files. I've tried several log viewer applications (free or not), so far mtail I like the most. But, it lacks features.
I would like from my log viewer to:
handle files > than 10MB
filtering
highlight search…
Mercer Traieste
- 2,332
62
votes
6 answers
Alternative for "tail -f" that follows filename
I have some logs being generated using a timed rotating file logger. This logs to a file called tool.log, and at midnight, moves this to tool.log. and starts a new tool.log.
I have a tail -f tool.log running on the machine to keep an eye on…
Hugh
- 1,591
60
votes
3 answers
Linux - some way to keep a live-updating log file open in terminal?
This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur. My searches are coming up with everything but this situation... I must be missing some terminology or something key, because…
wulftone
- 973
57
votes
7 answers
How to view time machine log in MacOS Sierra?
In previous version of OSX, I was able to view the results of past Time Machine backup jobs thus:
sudo syslog -F '$Time $Message' -k Sender com.apple.backupd
Now syslog is no longer part of the operating system. It has been replaced by "log."
I…
Arnstein
- 571
45
votes
4 answers
Does Windows log programs that have been run/called?
In Windows, is there a log that records what programs were run/called?
While browsing the internet, viewing a static page with no ads, mouse clicks, keypresses, or miscellaneous plugins/addons/scripts running, I just saw a spontaneous CMD.exe…
Coldblackice
- 6,233
- 20
- 60
- 89
44
votes
4 answers
Where Linux places the messages of boot?
I want to find place to where Linux writes all boot messages. You know:
facility one [STARTED]
facility two [STARTED]
facility three [FAILED]
I searched with
find . -print0 | xargs -0 grep -i "words from boot messages"
in /var/log/, but…
Rodnower
- 2,259
41
votes
5 answers
Writing "tail -f" output to another file
As a continuation from my last post where I have used grep & tail -f to find occurences of "rare" events. I would like to record this in another file.
I've tried turning
tail -f log.txt | egrep 'WARN|ERROR'
into
tail -f log.txt | egrep…
Mike
- 635
41
votes
4 answers
Linux command line utility for watching log files live?
What's a good linux command line utility for watching a log file live? It's probably obvious but I totally forgot it.
kylehotchkiss
- 1,150
39
votes
7 answers
Remove first N lines from an active log file
Is there a way to remove the first N lines from a log that is being actively appended by an application?
Adam Matan
- 8,740
39
votes
1 answer
Accidentally deleted log file of running process `python something.py 2>&1 | tee .log`. Is there a way to still save the output on the tmux-pane?
Accidentally deleted log file of running process python something.py 2>&1 | tee .log. The script is running in a tmux pane on zsh. The process is still running but not logging. The output itself overflows the tmux-scrollback-buffer. Can I somehow…
baxbear
- 516
32
votes
5 answers
Viewing the full Skype chat history
I have Skype 2.8 on Mac OS X 10.5.8.
Under the the chat menu is an option called "Recent Chats". This allows me to see logs of recent chats, but not of older ones.
I know the older ones are stored because they are in ~/Library/Application…
hekevintran
- 2,805
29
votes
6 answers
How can I suppress chrome-extension:// output from Web Inspector's console log?
I don't wish to disable my extensions – after all they're there for development purposes – but I want to disable their output from the console in Web Inspector. Is there a way to do this?
N.B. a very similar question has been asked on StackOverflow,…
Henrik
- 595