Questions tagged [logfiles]

215 questions
6
votes
7 answers

Optimize this python log-parsing code

The runtime of this code on my laptop for a 4.2 GB input file is 48 seconds. The input file is tab-delimited, with each value appearing in quotes. Each record ends with a newline, e.g. '"val1"\t"val2"\t"val3"\t..."valn"\n' I've tried using…
Jason Sundram
  • 12,225
  • 19
  • 71
  • 86
6
votes
1 answer

centos mysql log file date format

i'm sure the answer is obvious but i cannot for the life of me find it. I need to know at what date a specific configuration item changed for my mysqld. This config change is noted in the mysqld.log file of my server, but the date of the entry is…
prhalmen
  • 71
  • 1
  • 4
6
votes
3 answers

What is the default location of Winston logs?

I am using something like this: var winston = require('winston'), logger = new (winston.Logger)({ transports: [ new (winston.transports.Console) (), new (winston.transports.File) ({filename: 'test.log'}) ] }); logger.log('Hello…
pathikrit
  • 32,469
  • 37
  • 142
  • 221
6
votes
1 answer

Request Logs for All Versions of Google App Engine Application

Does anyone know how to request all logs of a Google App Engine application? By all logs, I mean all app versions logs. We increment the version of our app with every deployment. I have a script that pulls the log files every 30 minutes for some…
Alen D.
  • 263
  • 2
  • 8
5
votes
3 answers

Read the log file (*.LDF) in SQL Server 2008

I'm searching for a way to read the SQL Server 2008 log file, not to show the information, but to read the meaning of the symbols and the structure of the LOG table. I'm using DBCC LOG('my_table', 3).
Neuvill
  • 93
  • 2
  • 3
  • 9
5
votes
5 answers

Why is Tomcat doubling my log lines in the catalina.out logfile?

Every time I look at Tomcat's catalina.out log file, I see double lines for every log entry. Why is this happening? Has this happen before to any Java (Tomcat) users?
Geo
  • 8,663
  • 13
  • 63
  • 93
5
votes
3 answers

How to clear server.log in JBoss?

How do I clear JBoss' server.log file when JBoss is running? When I try to do echo 1 > server.log I get error msg that the file is being used by another program (JBoss). Is it possible to use a command-line tool (windows or linux(I do have…
IAdapter
  • 62,595
  • 73
  • 179
  • 242
5
votes
1 answer

Server log file HEAD requests

I found some entries in my log file that I don't understand. Besides all the expected GET requests I found quite a large number of HEAD requests that I know for sure my application is not making. I don't have phpmyadmin, SQL or any of the other…
ChrisRich
  • 8,300
  • 11
  • 48
  • 67
5
votes
0 answers

How to get seperate log files for each module while using maven -T option

My project structure is as follows : Main_Proj - pom.xml - Component1 - pom.xml - Component2 - pom.xml - Component3 - pom.xml I have three independent components . I am…
5
votes
1 answer

How do I delete old JBoss logs?

I'm using JBoss 7.1.3 on Mac 10.9.1. This is a development machine. How do I delete old server logs that appear under the $JBOSS_HOME/standalone/log directory? Ideally, I'd like logs older than 4 days to be deleted from my system, freeing up…
Dave
  • 15,639
  • 133
  • 442
  • 830
4
votes
4 answers

IIS Log Files showing Rewritten rather than Original Url

I've got a problem in that changing the way I'm doing Url Rewriting in an Asp.Net application has changed the IIS log files from looking like this: /page/ 80 etc.. /page/anotherpage/ 80 etc... to default.aspx page=1 80 etc... default.aspx page=2 80…
Bruce Chapman
  • 1,227
  • 3
  • 12
  • 19
4
votes
2 answers

File read permissions for 'others' not working

I'm trying to give read permissions to lighttpd access logfiles to normal users which are on the same system. The permissions are currently: -rw-r--r-- 1 www-data www-data 211K Feb 28 11:27 /var/log/lighttpd/access.log So, if I understood correctly…
NewProggie
  • 1,015
  • 1
  • 10
  • 24
4
votes
2 answers

Can Analog library be used to create multiple log files?

I'm looking for a decent, easy to use logging helper class-set/framework. I discovered Analog and find it to be exactly what I need, despite the fact that it seems to be usable for one logfile at a time only. Am I wrong ?! Do you know some similar…
Robert G.
  • 61
  • 6
4
votes
3 answers

python: Store the issued commands in log file

I am executing a program with a combination of different parameters. I need to keep track of exactly which parameters were supplied with the program at command line. I am maintaining a log file where I need to store these issued commands alogwith…
Curious
  • 3,507
  • 8
  • 28
  • 30
3
votes
1 answer

Want to process a large appengine log file

I run my app on google app engine.....My log files are huge due to heavy traffic The log file looks like this 122.167.221.243 - - [06/Mar/2012:01:11:29 -0800] "GET /Bengali/enable HTTP/1.1" 404 0 "http://www.epicsearch.in/" - ---Similar rows ----…
Dilletante
  • 1,801
  • 4
  • 19
  • 18
1
2
3
14 15