Of course if we are happy with "Clear" as opposed to "Clear Logs", then I could always just add a Stock button (gtk.STOCK_CLEAR)|| and that should be ok on the l10-n front.

JR


John Rice wrote:
Adding a Clear button to the Log Dialog would be simple but not for this release as that button text needs translated. So file an RFE and we'll do it for the next release.

Note: the log files have a limit set on them and once that limit is hit it rolls over, saving the previous log with a .1 extension. We keep one level of backup.

/var/tmp/packagemanager_error.log
Hit limit - rollover:
/var/tmp/packagemanager_error.log: size 0
/var/tmp/packagemanager_error.log.1: size 1000000
Hit limit - rollover:
/var/tmp/packagemanager_error.log: size 0
/var/tmp/packagemanager_error.log.1: size 1000000
  :

Also some log messages might be important, such as a mis configured Publisher that you might want to come back to.

JR

Joanmarie Diggs wrote:
Works for me. Thanks.

On a related note, is there any reason why these logged errors shouldn't
be deleted? As far as I can tell, the sorts of errors being logged are
not the sort that might later explain why one's system got into a funny
state.... Granted, one can delete the logs out of /var/tmp. But I think
it would be nice to be able to clear these things out within PM.

Put another way, if I file an RFE for this capability, is it a WONTFIX
or something you'd consider?

Take care.
--joanie

On Tue, 2010-01-19 at 15:34 +0000, John Rice wrote:
Thanks Joanie - new webrev:

http://cr.opensolaris.org/~jmr/pm_13756_search_over_reporting_19Jan_333pm/
13756 Over reporting search transport failures


JR

Joanmarie Diggs wrote:
Hey John.

This works nicely for me, but I just noticed that the widget containing
the logged errors allows you to edit the error text. Is this
intentional? Since the changes are not saved, it's not a big deal;
merely odd...

Take care.
--joanie

On Tue, 2010-01-19 at 13:52 +0000, John Rice wrote:
Hi - webrev to log things like transport errors during search as opposed to bringing up an Error dialog. When the error is logged a notification icon is shown in the status bar, clicking on it brings up the Log Dialog scrolled to the logged error.

http://cr.opensolaris.org/~jmr/pm_13756_search_over_reporting_19Jan_145pm/
13756 Over reporting search transport failures

JR
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to