Questions tagged [logfiles]

215 questions
-2
votes
3 answers

Linux parsing space delimited log files

I need to parse apache-access log files which has 16 space delimited columns, that is, xyz abc ... ... home?querystring I need to count total number of hits for each page in that file, that is, total number of home page hits ignoring…
user1810502
  • 531
  • 2
  • 7
  • 19
-3
votes
1 answer

Using java Log files and log4j

I am new to log files.I want to log exceptions thrown while running the application and some other statements when a user uses my java swing application. Using logs I believe that some problems which I haven't been able to handle and find in my…
Débora
  • 5,816
  • 28
  • 99
  • 171
-3
votes
1 answer

user created log files

I am getting a TypeError: object of type file' has no len() I have traced down the issue to the path established upon execution. What am I missing to correct this error found within the "savePath" deceleration or usage within the "temp =…
-3
votes
1 answer

Create log file using php

I am creating a back office website , and need to trace the operations done on the website , for that I need a to generate a log file of every operation for example : Date-Time -User-Operation. I have tried files but did not really work…
DRYRA
  • 47
  • 1
  • 10
-4
votes
2 answers

In Python 2.7, How to extract and print date, time, and more

This is the code: #!/usr/bin/env python #Import the datetime from datetime import datetime import re #Create two datetime object for limit 1 and limit 2 as dt1 and dt2 respectively dt1 = datetime.strptime("01:00:00","%H:%M:%S").time() dt2 =…
1 2 3
14
15