Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001449 [Resin] minor always 11-08-06 11:45 11-29-06 11:53
Reporter sam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001449: incorrect newline in access log
Description (rep by C Head)

Most of our access log lines end with \r\n, but occasionally there is a line ending with just \n, and our log analysis tool is not coping well.
Additional Information
Attached Files

- Relationships

- Notes
(0001579)
ChrisH
11-08-06 12:50

Sam,

The files that I sent you were straight from the Resin software and were not combined or converted in any ways so they are exactly as resin produced them. The servers are running Resin 3.0.21 and yes they are windows servers. I am not sure about how the code is producing the log files but they are being created that way as I have viewed the files using a GUI editor as well as using vi on a linux box and getting the exact same results. If there is any other information that I can provide please let me know as this is a large issue for us and our customers as they are unable to effectively track their SEO budgets without this information.

Thanks for all your assistance.
 
(0001583)
ChrisH
11-10-06 08:16

Sam,

Any update on this issue as I am getting pressed several times a day on it. If there is any other support avenue that we need to take with this please let me know as I need something to present to the customers and the owner.

Thanks
Chris Head
 
(0001584)
ChrisH
11-10-06 11:45

Sam,

Any update on this issue as I am getting pressed several times a day on it. If there is any other support avenue that we need to take with this please let me know as I need something to present to the customers and the owner.

Thanks
Chris Head
 
(0001586)
sam
11-14-06 06:34

Confirmed, occurs one time in an log file with 291,544 lines.
 
(0001591)
ChrisH
11-20-06 07:08

Sam, any update on this issue?
 
(0001594)
sam
11-20-06 10:37

As a workaround until this bug can be confirmend and fixed, one can strip all
of the \r characters from the access log files before there are given to
analysis tools.

In unix:

$ cat access.log | tr -d '\r' > access_fixed.log
 
(0001595)
ChrisH
11-20-06 10:55

Sam, How will this cause the referring url to show in the correct line as opposed to a seperate line as it is most of the time and thusly not showing up in the tracking software as was stated in the original issue. Thanks for your assistance
 
(0001616)
ferg
11-29-06 11:53

The getNewline() needs to check for windows if the getProperty("line.separator") fails.
 

- Issue History
Date Modified Username Field Change
11-08-06 11:45 sam New Issue
11-08-06 12:50 ChrisH Note Added: 0001579
11-08-06 12:50 ChrisH Issue Monitored: ChrisH
11-10-06 08:16 ChrisH Note Added: 0001583
11-10-06 11:45 ChrisH Note Added: 0001584
11-14-06 06:34 sam Note Added: 0001586
11-20-06 07:08 ChrisH Note Added: 0001591
11-20-06 10:37 sam Note Added: 0001594
11-20-06 10:55 ChrisH Note Added: 0001595
11-29-06 11:53 ferg Note Added: 0001616
11-29-06 11:53 ferg Assigned To  => ferg
11-29-06 11:53 ferg Status new => closed
11-29-06 11:53 ferg Resolution open => fixed
11-29-06 11:53 ferg Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
45 total queries executed.
34 unique queries executed.
Powered by Mantis Bugtracker