Questions tagged [logging]

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

1043 questions
132
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,431
  • 2
  • 10
  • 10
94
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
  • 5,947
  • 9
  • 42
  • 77
65
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,282
  • 2
  • 22
  • 24
61
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
  • 713
  • 1
  • 6
  • 6
61
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,181
  • 11
  • 19
55
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
  • 923
  • 2
  • 8
  • 9
55
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
  • 551
  • 1
  • 5
  • 3
42
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,405
  • 13
  • 52
  • 79
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
  • 595
  • 2
  • 5
  • 7
40
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,019
  • 5
  • 30
  • 44
34
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
  • 7,320
  • 16
  • 55
  • 82
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,447
  • 3
  • 29
  • 33
28
votes
2 answers

How do erase the contents of a error.log file but keep the file intact

I want to erase the contents of the file error.log (nginx error log file), but I don't want to actually delete the file. is this possible? running ubuntu
user27449
  • 6,134
  • 22
  • 62
  • 85
28
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
  • 763
  • 4
  • 9
  • 16
26
votes
4 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
  • 565
  • 1
  • 5
  • 15
1
2 3
69 70