[Catalyst] Audio Debug Logs for Catalyst: Catalyst::TraitFor::Log::Audio

Russell Jurney russell.jurney at gmail.com
Thu Jul 2 00:15:04 GMT 2009

Yes, it also helps me determine the state of my controllers in the  
test server without straining my eyes reading the debug output.  And I  
have MyApp.pm system("say 'go' &"); also, which tells me that the test  
server just reloaded the content and the server is ready for testing  
again, each time I save a file and it auto-restarts.  Before I would  
have to change windows and watch it until I saw that it was ready.

Its actually quite pleasant :)

Russell Jurney
russell.jurney at gmail.com

On Jul 1, 2009, at 10:20 AM, Ian Wells wrote:

> 2009/7/1 Russell Jurney <russell.jurney at gmail.com>:
>> I just created a simple trait for the Catalyst::Log that uses OS  
>> X's 'say'
>> utility to log error messages to audio, such that the computer will  
>> say them
>> to you.  My eyes tire of reading through 100s of lines of debug  
>> output, so
>> now sometimes I will have the computer simply talk to me.
> Top tip: making a noise is incredibly useful for test and
> small-audience servers.  Whenever anything goes wrong, make the
> computer make a sound, and you can ask whoever has a problem straight
> away what they were doing, etc. - before they forget, and often while
> they're still trying to work out what to do.
> (The server we had that did this coughed discreetly when a problem
> came up.  This was great until the winter cold season came on...)
> -- 
> Ian.
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

More information about the Catalyst mailing list