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
3
votes
1 answer

Reading ASL log file - Python

I'm trying to read Mac OS ASL log file with Python by using this asl package. I think the package is successfully installed but I can't import it. Below are the error messages: Traceback (most recent call last): File "", line 1, in File…
Serena
  • 67
  • 8
3
votes
1 answer

Format of rsync logfile

I am running a backup with rsync during which a logfile is created. However, I do not know what the abbreviations mean. Here is a sample of the logfile: 2016/11/15 15:17:53 [4906] building file list 2016/11/15 15:17:53 [4906] .d..t......…
user4918296
3
votes
2 answers

Node.js monitor file for changes and parse them

I need to monitor a file for changes. Due to a large amount of new entries to this file I would need to 'monitor' this file. I would need to get the new inserted content to this file to be able to parse this content. I found this…
peke_peke
  • 441
  • 7
  • 21
3
votes
1 answer

Format mysql query log file output

I created a querylog.log file and place the line below: log="C:\Users\paul\Documents\dumps\querylog.log" in my.ini under [mysqld] to log all mysql queries on my computer but the problem that I have is that the queries are not properly formatted in…
user765368
  • 19,590
  • 27
  • 96
  • 167
3
votes
1 answer

Process the lines in reverse order

How do I process a log file (in my case nginx access.log) in reverse order? Background I am developing a log file analyser script and I am just not able to get my head around on how to process huge log files from the end so I can sort out the time…
elhombre
  • 2,839
  • 7
  • 28
  • 28
3
votes
0 answers

How to output color to a text file?

The question seems kinda basic, but I have not been able to find it online. I am creating log files, and upon finding different things, I want it to be with color. Green is OK, red is bad. Just to make it faster to go through. However, whatever I…
bananajoe19
  • 31
  • 1
  • 3
3
votes
1 answer

Can I use Kibana to visualize log file without elastic search?

I am some log data stored in log files. I cannot export it to elastic search. Is there a way I can directly use these log files to visualise graphs in Kibana?
Sandy
  • 2,253
  • 6
  • 24
  • 33
3
votes
3 answers

Setting innodb_log_file_size crashes MySQL

So, I'd like to be able to set the max log file size to 64M, but after doing so with innodb_log_file_size=64M MySQL starts OK, but nothing seems to work properly. EDIT: and by properly I mean not at all. Setting other InnoDB variables aren't…
kari.patila
  • 1,071
  • 2
  • 15
  • 26
3
votes
1 answer

multi-line regex for Logwatch ignore.conf

I'm using Logwatch on a machine running a firewall. Every day I get an email full of entries like the following: From 123.123.123.10 - 28087 packets To 123.123.123.1 - 2 packets Service: http (tcp/80) (Firewall Allow) - 2 packets To…
Leslie
  • 618
  • 4
  • 14
3
votes
3 answers

Linux: Pipe output in File until

Does anyone know how I can pipe output to file until filesize reaches limit or is canceled by other condition? Is this possible? How can I cancel writing output to file ('$cmd >> file.txt 2>&1') with conditions like filesize, time duration…
user3280180
  • 1,393
  • 1
  • 11
  • 27
3
votes
4 answers

Eclipse does not open my workspace

I am getting this error when loading my workspace in eclipse. An error has occurred.See the log file D:\XXX\App_name\.metadata\.log. I can able to open other workspaces and also able to create new onw.I didnt save the copy of my code.Please…
micky
  • 508
  • 5
  • 17
3
votes
3 answers

CakePHP 2: Get full SQL error log in error.log

I want to be able to log full SQL queries in error.log specifically when a SQL error occurs. My debug is set to 2 in core.php. The output is appearing as follows: 2013-01-29 19:53:21 Error: SQLSTATE[HY000]: General error: 1364 Field 'street'…
miCRoSCoPiC_eaRthLinG
  • 2,910
  • 4
  • 40
  • 56
3
votes
2 answers

DB2 Logfile Limitation, SQLCODE: -964

I have tried a huge insert query in DB2. INSERT INTO MY_TABLE_COPY ( SELECT * FROM MY_TABLE); Before that, I set the followings: UPDATE DATABASE CONFIGURATION FOR MY_DB USING LOGFILSIZ 70000; UPDATE DATABASE CONFIGURATION FOR MY_DB USING LOGPRIMARY…
Afshin Moazami
  • 2,092
  • 5
  • 33
  • 55
3
votes
1 answer

Error 1067 for MySQL 5.5 on Windows Server 2008 R2

I had installed MySQL Server 5.5 on Windows Server 2008 R2 before 2 months and it's working till now. But suddenly MySQL Service goes down and I am not able to restart the service. Error Message: 121120 14:33:31 [Note] Plugin 'FEDERATED' is…
Saharsh Shah
  • 28,687
  • 8
  • 48
  • 83
2
votes
2 answers

splunk parsing IIS logfile

I am using Splunk to parse IIS logfiles from a few servers, all the servers have same fields setup in IIS and all servers running same version of windows 2003 server. However splunk tag the sourcetype of those logfile to "iis" or "iis-2" or…
Henry
  • 384
  • 1
  • 9
  • 22