Closed Bug 570543 Opened 14 years ago Closed 14 years ago

ConsoleStorage log truncation

Categories

(DevTools :: General, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 568629

People

(Reporter: ddahl, Assigned: ddahl)

References

Details

(Whiteboard: [kd4b6])

The ConsoleStorage object should truncate the logs after so many seconds or # of records
Priority: -- → P2
Is this a dupe of bug 552143?
(In reply to comment #1)
> Is this a dupe of bug 552143?

It was intended as a followup bug, and is probably referenced in a TODO in the source code. This was to cover only the truncation of the logging data.
After a short meeting with Patrick,  It looks like a better approach is going to be to mimic the existing filtering mechanism for searching log messages: just show and hide nodes via css.

In the meantime, I am writing a new storage service to store logged messages before the Web Console is displayed. see bug 568629.

We should remove the storage api, leaving only the preferences in the storage object.
Is log truncation a part of the new logging service? If so, should this be a separate bug still?
Whiteboard: [kd4b4]
After I get the new service and console component up and running this and maybe another bug will be marked wontfix - most likely.
Whiteboard: [kd4b4] → [kd4b6]
the new console service handles truncation.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.