Bug 21444

Summary: periodic conditional verbosity
Product: Base System Reporter: clefevre <clefevre>
Component: binAssignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description clefevre 2000-09-21 10:30:01 UTC
	this patch to periodic files conditionally print the topic 
	line only if there is any outputs to shorten periodic reports.

	this feature is configurable by the periodic_always_print_message
	variable. the default value works as before which is to always
	print topic lines.

	all "echo" in periodic files have been changed this way even if
	there is always some outputs just to be consistent with other files.

How-To-Repeat: 
	n/a
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-21 11:12:07 UTC
State Changed
From-To: open->feedback

Brian Somers just recently overhauled the way in which periodic 
handles output.  The change breaks your patch.  Is this still 
an issue? 

Either way, please provide feedback in the form of a message 
copied to <freebsd-gnats-submit@FreeBSD.org> with the subject 
of this message.
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-21 11:13:29 UTC
Responsible Changed
From-To: freebsd-bugs->brian

I should have handed this over to the maintainer when I 
asked for feedback.
Comment 3 Brian Somers freebsd_committer freebsd_triage 2000-09-21 20:37:00 UTC
State Changed
From-To: feedback->closed

This PR is inappropriate given the latest perioidic(8) changes. 

You should be able to set daily_show_success=NO to get essentially 
the same results.