This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 104905 - Please add option to have a log rotation on every AS start
Summary: Please add option to have a log rotation on every AS start
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
: 111022 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-26 21:29 UTC by alexismp
Modified: 2007-10-30 18:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexismp 2007-05-26 21:29:53 UTC
Please provide a way to configure a log rotation upon AS (re)starts (both wanted
and not wanted).
Comment 1 alexismp 2007-05-26 21:39:05 UTC
See also https://glassfish.dev.java.net/issues/show_bug.cgi?id=1125
Comment 2 _ ludo 2007-05-30 15:20:28 UTC
let's treat it as a bug for now and hope it can be fixed for nb 6...
I've seen feedback at conferences that it was not something people liked...
Comment 3 Vince Kraemer 2007-07-25 22:27:17 UTC
*** Issue 111022 has been marked as a duplicate of this issue. ***
Comment 4 _ tboudreau 2007-07-25 22:33:28 UTC
Note some additional suggestions in issue 111022 - to wit, provide an action that shows the full log in the output window toolbar.

Regardless of log rotation, just starting at the end point of the log file and only showing that, and providing an action to show the full log if desired should be 
+/- 10 lines of code - this ought to be trivial to fix.
Comment 5 Vince Kraemer 2007-07-25 22:44:38 UTC
thanks for the addition info and clarification.
Comment 6 Vince Kraemer 2007-10-24 15:55:56 UTC
The code has logic to do what Tim and Alexis were asking for... I think.  But it also had a bug that prevented it from
working correctly.  I have fixed the bug in that code.

Please give this a try and see if it resolves the issue.  Reopen and explain the other changes you would like to see, if
the log viewer is still awful.

http://deadlock.netbeans.org/fisheye/changelog/netbeans/serverplugins/sun?cs=MAIN:vkraemer:20071024004320
Comment 7 alexismp 2007-10-30 18:38:13 UTC
thanks Vince for spending cycles on this.
I just gave 20071029200 a spin and I like the way the user is presented with the end of the log file.
I'm not clear on how the rotation logic has changed. Or has it?
Comment 8 Vince Kraemer 2007-10-30 18:58:14 UTC
that is answered by the diffs, which are accessible via the link in my previous entry