Questions tagged [logfiles]
logfiles usually means text data resulting from a debug process.
36
questions
1
vote
0
answers
852
views
Why does this log file exist? Why does it continue to grow?
I was cleaning out my computer yesterday because I realized I had no space. Turns out, there was a rogue log file that was about 515GB. It sits alone in C:/temp and it's called mfxlib.log. It grows at ...
0
votes
0
answers
84
views
Data analysis of multiple log files
I would like to analyse (Linux-/Switch-) log files with a graphical front-end under Windows. I did a research on several freeware/trialware sites but I didn't find any that fulfil my needs mostly ...
1
vote
1
answer
964
views
How to find the first and last occurrence of date field in a log file in linux?
log_file:
2021-08-29 23:25:46,398 IST INFO :......mailslot_create: creating socket for querying route
2021-08-29 23:25:46,398 IST INFO :.....mailbox_register: no mailbox necessary for forward
...
0
votes
0
answers
250
views
Cryptic ClamAV results log file?
I installed ClamAV on LMDE4 and ran it using
sudo clamscan -ir ./ | grep FOUND >> /home/user/Desktop/clamscan_results.txt
The results file only contains the following:
Binary file /bin/ntfsfix ...
2
votes
0
answers
375
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
1
answer
590
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
1
answer
3k
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
1
answer
40
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
1
answer
527
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
0
answers
812
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 ...
16
votes
2
answers
35k
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
0
answers
33
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
1
answer
4k
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
1
answer
797
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 ...
8
votes
1
answer
3k
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
2
answers
14k
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
0
answers
316
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
1
answer
2k
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
./...
3
votes
1
answer
4k
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
0
answers
104
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
1
answer
3k
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
3
answers
6k
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
2
answers
4k
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
1
answer
5k
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+ ...
4
votes
0
answers
9k
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
3
answers
14k
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 ...
12
votes
3
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 ...
1
vote
1
answer
39k
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
1
answer
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 ...
2
votes
3
answers
715
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
3
answers
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 ...
86
votes
22
answers
149k
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
0
answers
869
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
2
answers
13k
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
3
answers
166
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
7
answers
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 ...