Questions tagged [logfile]

A log file is a file that contains a list of events, which have been "logged" by a computer.

A log file is a file that contains a list of events, which have been "logged" by a computer. Log files are often generated during software installations and are created by Web servers, but they can be used for many other purposes as well. Most log files are saved in a plain text format, which minimizes their file size and allows them to be viewed in a basic text editor.

701 questions
-2
votes
4 answers

How to create a log file that logs the detail of each file copied in C#?

I m developing an application that reads files from a remote server and copies it onto the local drive. The code I m using to read and write the file is - string saveTo1 = savePath + @"\" + filename[i]; byte[] buffer = new…
akhil
  • 1,202
  • 3
  • 21
  • 43
-3
votes
2 answers

How to extract only date and time from a large logfile?

I'd like to extract just date and time values out of a log file. Here are a couple of lines from the log file: 2022-05-22 13:51:52,689 STATUS [Thread-5] hoststate.HighwayMonitorObserverImpl.localHighwayStateChanged - Highway State Changed [LOCAL…
-3
votes
1 answer

Need to create regex pattern from user input in Python

I need to parse the log file that looks like this: July 31 12:54:55 mycomputername updater[93309]: WARN Please send help I am stuck inside the internet July 31 16:07:01 mycomputername process[11843]: ERROR Process failed July 31 16:20:37…
-3
votes
1 answer

Can someone please explain this log data? I want to analyze it

AAF_BurpSuit_withlogin Dec 12 15:16:52 osboxes aaf.alerts: Founddddd patterns,{.conf } in 192.168.56.10/passwords/web.config.bak [1576181812,HTTP,192.168.56.1,44596,172.17.0.2,80,] Dec 12 15:16:52 osboxes aaf.alerts: Founddddd…
-3
votes
1 answer

Surprising Hack into Tomcat Log File

Today I found a friendly hint from a hacker in Tomcat's catalina.out. There must be some leak after an exception occurred which enables users to write to stderr or stdout. The part of the log file is as follows: ... Oct 16, 2018 12:40:21 AM…
JensD
  • 13
  • 4
-3
votes
1 answer

Is filesystemwatcher detectable?

i wanna ask you if is filesystemwatcher detectable. for example. i wanna read and analyse log file parallel with using software. So is it detectable? TY.
Marek Schwarz
  • 350
  • 5
  • 13
-3
votes
2 answers

C++ How to write a logfile

I have to write a program for school that calculates current, voltage, and efficiency. I have almost finished the program but now I want to write the results in a logfile. I have already read some threads but it didn't really help. here is the part…
-4
votes
1 answer

Read log file and print specific input. python

I am trying to read a log file in order to retrieve the time that the process needs to finish. I found the below code which works fine: infile = r"C:\DOUBLE\bschfrvNI0870.log" important = [] keep_phrases = ["real time"] with open(infile) as f: …
-4
votes
1 answer

How to extract specific columns in log file to csv file

I0625 17:25:22.544378 3366 solver.cpp:229] Iteration 7120, loss = 8.79839 expected output : Iteration 7120 loss = 8.79839
Markel
  • 15
  • 4
-4
votes
1 answer

Why does my while loop not work?

basically its a logfile reader function using other logreader class and its functions like readLine() and hasMoreLines() I dont know why my while loop is not working properly as it is supossed to output the all tokens which i made using tokenizer…
-5
votes
1 answer

Misinterpretation with hashes in perl, populating from log file

Below you can find the output on screen and the source code generating the problem Use of uninitialized value $port in hash element at ./test3.prg line 26, line 1. Use of uninitialized value $port in hash element at ./test3.prg line 26,
firepro20
  • 371
  • 2
  • 3
  • 14
1 2 3
46
47