Issue Details (XML | Word | Printable)

Key: GLASSFISH-18687
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Amy Roh
Reporter: tak09
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

HTTP log rotation Max File Count not working

Created: 04/May/12 06:55 AM   Updated: 24/Feb/14 09:40 PM   Resolved: 14/Mar/13 05:22 PM
Component/s: web_container
Affects Version/s: 4.0_b34
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. Log Rotation.png
(82 kB)
Environment:

GlassFish b34
Windows 7


Tags:
Participants: Amy Roh, rsaraykar and tak09


 Description  « Hide

1. HTTP log rotation Max File Count not working. When Max File Count is set as 1. Only one file is supposed to be kept. Many files are still remaining.
2. The current log file name includes date. For example server_access_log.2012-05-04.txt
The date is necessary for the rotated old log files, but not necessary for the current log file.
Please see the attachment file.



naman_mehta made changes - 11/Feb/13 09:09 AM
Field Original Value New Value
Assignee naman_mehta [ naman_mehta ] sandeep.shrivastava [ sandeep.shrivastava ]
Amy Roh made changes - 14/Feb/13 01:01 AM
Assignee sandeep.shrivastava [ sandeep.shrivastava ] amyroh [ amyroh ]
Amy Roh added a comment - 14/Feb/13 01:09 AM

I'm only seeing one access log file if I set "Max File Count" as 1. Can you provide exact steps where you are seeing many access log files?

bash-3.2$ ls domains/domain1/logs/access/
__asadmin_access_log.2013-02-13.txt server_access_log.2013-02-13.txt

Also, where do you see that the date is not needed for the current log file? The access log files have always had dates as far as I know.


sandeep.shrivastava made changes - 15/Feb/13 02:15 PM
Component/s web_container [ 10622 ]
Component/s logging [ 10608 ]
Amy Roh added a comment - 14/Mar/13 05:22 PM

Please reopen the issue with more info.


Amy Roh made changes - 14/Mar/13 05:22 PM
Status Open [ 1 ] Closed [ 6 ]
Resolution Incomplete [ 4 ]