Questions tagged [logging]
The act of recording actions, requests, and other meaningful data in a computer. Often used for troubleshooting kernels, servers, etc.
91
questions
18
votes
4
answers
27k
views
How do I log startup and shut-down times in Windows 7?
I'd like to log the times when my computer starts up and shuts down. I don't need any diagnostic info or anything, just a simple note of the date and time, e.g. something like:
2011/04/29 08:17:34 AM ...
17
votes
3
answers
64k
views
Rsyslog outputting to custom log file
Can anyone tell me what I did wrong here?
Here is the ultimate question:
Why when I use the logger command can I not get it to output to a custom log file in /var/log?
In my script:
logger -i -t ...
16
votes
4
answers
40k
views
How to redirect output to a text file and the console (cmd) window at the same time?
How can I redirect output to a text file and the console (cmd) window at the same time?
14
votes
4
answers
10k
views
tail -f equivalent for an URL
I want to monitor the log file of my application which however doesn't work locally but on a SaaS platform and is exposed over HTTP and WebDAV.
So, an equivalent of tail -f that works for URLs would ...
14
votes
7
answers
28k
views
Piping tail -f into awk
I am trying to pipe tail -f into awk to monitor a logfile in realtime, but according to examples, there should be not problem but I can't get it to work.
here is the command I'm running
tail -f ...
13
votes
5
answers
24k
views
Text / log editor with auto-refresh support [closed]
I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes.
I have a single target log file (e.g. current.log) that is overwritten ...
13
votes
3
answers
115k
views
VPN Log Files Windows
I have a friend who is quitting their job.
He is owed overtime, but the workplace has been casual about recording hours.
He regularly signs out a work laptop, and will work from home via VPN.
Is ...
11
votes
4
answers
20k
views
How do I log all UNIX shell commands submitted by all users?
Is there an elegant way to log every command submitted in all shells on a machine? This is in the context of an infrequently-used Ubuntu server, of which I am the only human user. (There are several ...
9
votes
2
answers
32k
views
How do I log outgoing TCP connections from my computer?
I'm trying to track down a problem where something is causing my active directory account to get locked out. I think that I could figure it out if I can log all connections to 2 specific servers.
I ...
9
votes
1
answer
6k
views
How to show private data in macOS unified log
I need to debug some problems regarding user login, but many somehow interesting information in the new unified log are hidden, like this (shortened):
opendirectoryd[130]: [com.apple.opendirectoryd:...
8
votes
5
answers
7k
views
Tips for using vim as a log viewer
As a log viewer, which of vim's features are convenient?
less -F is quite good.
But I believe vim could be better if we knew its hidden features.
* or #
v//d
g//d
etc..
PS. I don't use vim ...
8
votes
2
answers
28k
views
Are root password changes logged?
Long story short, after a recent company "reorg" the root password on all of our servers was mysteriously changed. I need to figure out first how to regain root access, but second how to figure out ...
8
votes
5
answers
17k
views
Writing a CPU/RAM usage log over a period of time to file on CentOS
I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file.
I've been trying with variations of ...
7
votes
3
answers
11k
views
logging RAM memory high-water mark of a Linux process
I would like to log the RAM memory high-water mark of a Linux process (kernel 3.2.0-36) by the time the process finishes. I am calling the process inside a Perl script. Something like:
my $cmd = "...
7
votes
4
answers
33k
views
debug.log file is being created in a few Windows folders (possibly from Chrome). How can I troubleshoot and resolve?
A few weeks ago I noticed a file named debug.log begin to appear in a few Windows folders (Win 10, x64). Does anyone know if it is due to Google Chrome, and/or how to resolve? The only reason I ask ...