Questions tagged [logging]

The act of recording actions, requests, and other meaningful data in a computer. Often used for troubleshooting kernels, servers, etc.

1076 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
  • 2
  • 11
  • 10
101
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
  • 6,819
  • 10
  • 50
  • 82
67
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
  • 773
  • 1
  • 6
  • 6
67
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,312
  • 2
  • 22
  • 24
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,201
  • 12
  • 20
58
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
  • 953
  • 2
  • 8
  • 9
56
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
  • 561
  • 1
  • 5
  • 3
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
  • 5,786
  • 17
  • 56
  • 85
41
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,119
  • 6
  • 31
  • 46
40
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
  • 625
  • 2
  • 6
  • 8
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
  • 5
  • 10
37
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,090
  • 17
  • 59
  • 84
31
votes
4 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,667
  • 5
  • 30
  • 34
29
votes
2 answers

What folder are installation logs in?

If an installer stores a log of the installation process, where would I find that log? If there is an installer that does not log the installation process, how can I make it do so?
Ori Popowski
  • 793
  • 4
  • 9
  • 16
28
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
  • 585
  • 1
  • 5
  • 15
1
2 3
71 72