Questions tagged [logfiles]

logfiles usually means text data resulting from a debug process.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Need to save real time dmesg log

I need to save my real time dmesg log to some other log file. dmesg |tail -f >>filename watch dmesg --follow >> filename my job like below : #!/bin/bash # create directory if doesn't exist. if [ ...
2
votes
0answers
44 views

Monitoring a log file until it is complete

I am a high school student attempting to write a script in bash that will submit jobs using the "qsub" command on a supercomputer utilizing a different number of cores. This script will then take the ...
0
votes
1answer
58 views

How to know when Rsyslog has read all lines in a file, and have read 100% of a file

I have to pull log files, static files. Let's imagine I have 100 events (100 lines) in a file. Rsyslog has to forward those logs to a server. Once Rsyslog has read the last line, I want to shutdown ...
0
votes
1answer
27 views

How to generate a logfile using xcopy with task Scheduler - no bat file

I'm updating some files every day with task scheduler using xcopy. My syntax is xcopy "\\networkFolder...\" "c:\folder" /D /Y /E /I > c:\users\name\desktop\logfolder\log.txt It works perfectly ...
0
votes
1answer
23 views

Perform a command when a specific text occurs in a log file

Is there any way to achieve something like this? Whenever some specific word (or combination of them) occurs in log file, I want to perform specific action. For example: whenever there occurs a word "...
1
vote
1answer
347 views

IP conflict on macOS High Sierra: find log with hardware address of conflicting device

I am on a university network with a computer running macOS High Siera that has its IP address assigned via DHCP. On a regular basis (1 or 2 times a week), I lose all network connectivity for several ...
1
vote
0answers
116 views

How to redirect the output of a running process to a log file?

When running a long running task in a command prompt, it's possible to redirect the output to a log file (fe for storage or later analysis). However, I started a few long running tasks this evening ...
5
votes
2answers
9k views

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 ...
1
vote
0answers
24 views

how to check whene and who deleted a file in win7?

A program and its dependencies got deleted from my computer without my knowledge and consent, probably via the guest session. are there any records in windows 7 of deleted files, the time of deletion,...
6
votes
1answer
3k views

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:
0
votes
1answer
378 views

Clear Logs Automatically on Asus RT-AC3200 Router

Is there a way to automatically clear or delete the log files on the Asus RT-AC3200 router using something like chron? I have setup the Reboot Scheduler but this does not clear the logs. Firmware ...
7
votes
1answer
965 views

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: ...
1
vote
2answers
9k views

How to customize LogFormat for Apache Virtual Hosts?

I really need some help with this. My server has multiple virtual hosts, each virtual host has its access log, I need to be able to customize the LogFormat for each virtual host exist on server. I ...
1
vote
0answers
234 views

Can vim be used to view a growing file?

I often use vim's view for viewing files. Is there a way to use it for a growing file so that I can see the progress as it's happening? Something similar to tail -f or less +F I have two use cases:...
1
vote
1answer
949 views

Running find…exec tar czvf only archives one file…need all files

When attempting to run find . -iname "*.gz" -mtime +7 -exec tar czvf all_gizip_$(date +%Y-%m-%d).tar.gz {} \; I get the list of files ./corosync.log-20140620.gz ./corosync.log-20140618.gz ./...
1
vote
1answer
2k views

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 ...
0
votes
0answers
97 views

How to write logfile for nsca daemon

I am using nsca daemon on a server which logs into /var/log/messages I have not found out how to log into a specific file. How to log nsca daemon into a logfile?
1
vote
1answer
2k views

How to output file sizes in human-readable format in an rsync logfile

I know that the -h option outputs file sizes in human-readable format when, for example, displaying the transfer progress with --progress. But is it possible to get this same file size formatting in ...
11
votes
3answers
5k views

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 ...
5
votes
2answers
2k views

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 ...
2
votes
1answer
4k views

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+ ...
3
votes
0answers
7k views

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 ...
1
vote
2answers
12k views

TeamViewer log files location

I want to access my office computer with TeamViewer, but the ID that I usually use is gone because of a fresh installation. I have SSH access to the office machine, but I don't know where the log ...
10
votes
3answers
7k 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 ...
1
vote
1answer
26k views

How to exit text files/logs when viewing them in Putty

I'm new to putty. Connected to a linux server to view/read some files. So, I opened a text log file that is constantly being updated, so I'm getting new lines every second. Is there a shortcut/...
1
vote
1answer
3k views

I want to get a count of unique entries in the Apache error logs on

When viewing Apache's log files there are a lot of error message repeated. I would like to find out which error messages are most frequent and which are unique. I would like a simple script that can ...
0
votes
0answers
137 views

How to know the history of hardware changes made while using Ubuntu?

I am working on Ubuntu OS. Initially my pc configuration was Intel core 2 duo 3.0GH with 320 GB HDD. After some times, my friend changed the motherboard with lower version of configuration without ...
2
votes
3answers
438 views

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 ...
3
votes
3answers
2k views

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 ...
62
votes
20answers
109k views

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. ...
1
vote
0answers
763 views

file type not installed on this computer

We are currently experiencing some memory problems on one of our windows 2008 servers, so I want to log the processes and their memory use with perfmon as suggested elsewhere on this website, but when ...
6
votes
2answers
10k views

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? ...
3
votes
3answers
155 views

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 ...
7
votes
7answers
2k views

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 ...