Questions tagged [logfiles]

logfiles usually means text data resulting from a debug process.

37 questions
88
votes
22 answers

Monitoring a file until a string is found

I am using tail -f to monitor a log file that is being actively written to. When a certain string is written to the log file, I want to quit the monitoring, and continue with the rest of my script. Currently I am using: tail -f logfile.log | grep -m…
17
votes
2 answers

Where is the log file by tmux?

I use tmux to run a process in the background. However, I could not find a location of the log file spit out by a session on tmux. The "log file" should include an error stack, caused by the Python script I run in the background. Does such log file…
Blaszard
  • 605
14
votes
4 answers

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 do great job for me. P.S. If you know of any other…
munch
  • 243
12
votes
3 answers

Tailing a File over FTP

I am attempting to access large log files on a remote server from my Windows desktop. I only have FTP access to this remote machine, not SSH access. At the moment, I'm using WinSCP to pull the entire file down over FTP. This means I have to transfer…
jwa
  • 273
8
votes
2 answers

Where is the Disk Utility log? (Mac OS X)

Apart from what it displays directly, Disk Utility on Mac OS X (10.6, if it matters) keeps a log, visible through Window → Show Log (or ⌘L). This is probably a file on disk, right? Where is this file? I'd like to look at it if e.g. Disk Utility…
8
votes
1 answer

DHCPD logs show PC's requesting IP addresses from router when they are turned off. Are our log files incorrect?

We have a small office and on checking the router logs I noticed that a number of computers have requested IP address from the office router outside of business hours. This is the log file output: 188 2016-11-18 06:50:58 DHCPD Notice Send ACK to…
7
votes
7 answers

Automatically cycle numerous or large files to the trash

I've been tasked with fixing a vendor's program that, under certain conditions, dumps gigs of junk files into a log directory. It ends up filling users' machines. My task is to figure out how to make it stop without any source code or additional…
6
votes
1 answer

Where can I find Genimotion logs?

Failed to drag-&-drop .apk into genimotion.com virtual device (emulator). Where can I find Genimotion logs? See a shot below:
5
votes
2 answers

Will cron.daily wait for jobs to finish before starting the next one?

This page http://wiki.ci.uchicago.edu/I2U2/WebalizerConfiguration suggests renaming /etc/cron.daily/logrotate so it comes after /etc/cron.daily/webalizer - webalizer should be done before logrotate kicks in. Is that true ? Will cron.daily wait for…
4
votes
1 answer

how can i overwrite existing log file in inno setup

i am new to inno setup. I want logging information, for that I set SetupLogging=yes and I used following code for getting log file . procedure CurStepChanged(CurStep: TSetupStep); var logfilepathname, logfilename, newfilepathname: string; …
beginner
  • 191
4
votes
0 answers

Viewing Windows SCM's .EVM files

I have developed some windows services and noticed that at some point in time, the Windows service manager will stop and resume my service without notifying anything. I know Windows SCM logs are located at %windir%\system32\LogFiles\Scm but I have…
3
votes
3 answers

How to grab a random section in the middle of a huge file?

I have a huge log file of around 3.5 GB and would like to sample random sections in the middle of say 10 MB for the purpose of debugging what my application is doing. I could use head or tail commands to get the beginning or end of the file, how can…
WilliamKF
  • 8,058
3
votes
3 answers

Intelligent "Subtraction" of one text logfile from another

Example: Application generates large text log file A with many different messages. It generates similarly large log file B when does not function correctly. I want to see what messages in file B are essentially new, i.e. to filter-out everything…
Vi.
  • 17,755
2
votes
1 answer

How to Grep up to a certain character or String

I need to extract log data from many terrabytes worth of log files. The thing is, the data I need starts and ends with patterns I can identify, but the code between can be anything between 10 and 100+ lines. Example: Start # lots of lines…
2
votes
3 answers

How can I get Windows to add the date in a .LOG file automatically?

I used to know a trick so that every time I opened a text file in Notepad it would be populated with the current date and time and a pseudo-linebreak (i.e. =============). I thought it was just calling the file whatever.LOG but it doesn't seem to…
Matt
  • 432
1
2 3