Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Force Console Update...?

Force Console Update...?
Thread Tools
Forum Regular
Join Date: Jun 2007
Status: Offline
Reply With Quote
Nov 16, 2008, 01:01 AM
 
Hi All,

Is there any way to get the console to display each and every occurrence of an event as opposed to saying "last message repeated 37 times"? I realize the usefulness of being this concise, but I'm developing items in which I need verbosity. Obviously I could put a tail on the server log via the terminal, but I prefer using Console for convenience sake.

Best.

UPDATE: Actually the "system.log" file displays "last item repeated" as well, so I definitely need a workaround.
(Last edited by gberz3; Nov 16, 2008 at 01:04 AM. (Reason:Update))
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Nov 16, 2008, 01:34 AM
 
Capture the process's stdout/stderr?

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
gberz3  (op)
Forum Regular
Join Date: Jun 2007
Status: Offline
Reply With Quote
Nov 16, 2008, 09:48 AM
 
Thanks for the post Charles. Is that the only solution? With the various applications I explicitly write to the log, and I often need to track more than one app at a time, to monitor interaction, etc. You can imagine what a pain it would be to manually track stdout for each app whenever I needed it.

I'll keep looking, I'm *sure* there's got to be something to force verbosity.

Thanks again.
     
drp
Fresh-Faced Recruit
Join Date: Jul 2006
Status: Offline
Reply With Quote
Dec 3, 2008, 11:28 PM
 
Check out the man page for syslogd -- the normal UNIX service that handles message logging. Check out the option for -dup_delay

-dup_delay
Sets the time to delay for coalescing duplicate message in log
files. If a process logs multiple messages with the same
text, syslogd will wait for the specified period of time to
coalesce duplicates. If identical messages arrive during this
interval, syslogd will print a message of the form:

May 7 12:34:56: --- last message repeated 17 times ---

The default delay time is 30 seconds. Setting the value to 0
disables the coalescing mechanism.

To enable the option, you'll most likely need to update /System/Library/LaunchDaemons/com.apple.syslogd.plist to include -dup_delay 0 as an additional String under ProgramArguments
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:51 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2