How to get a pop up notification of a PHP error
So for sometime now, I've been doing Drupal/PHP development on my local machine. I'm a Mac user, and I use Growl quite a bit to keep aware of whats going on. Honestly at times its probably a productivity killer to know that I have 22 new emails, I was pinged in IRC, and my feeds were just updated, and the latest track in iTunes is something that I probably don't want to hear. So I've been spending some time thinking about how to best put this cool tool to work for me, and I kept coming back to growlnotify, a command line tool to post notifications. My first though was, how to get this to tail some server logs for me, and how to take care of letting me know when servers had issues. But then I got to thinking that isn't really all that useful. Servers shouldn't go down, and if they do, they should notify me by email (which if I'm at the computer, Growl will pick up) and server logs? I just don't need that. The next logical conclusion was maybe to do some local tasks, like I don't know...say the PHP error log while I"m developing? That might actually be useful when I do something stupid, like get tired and call $node['body'] ( PHP Fatal error: Cannot use object of type stdClass as array). Anyway, lo and behold, someone else has already done this for me. Check out the snippets here for more info on how to make this work. It's a bit tricky since growl won't send a notify until an end of file is reached, and tail -f just sends newline characters. The solution is to use a small python script to read the stdin, and then conver that into a full growlnotify command, and execute it. Thanks to this tip I now get notifications like this:
You may need to play with your error level to keep from getting splattered with notices, but I find this quite useful (especially for catching notices with Drupal 6). |
|||
Comments
cable to digital
Cool blog
Thanks, webmaster.
digital cable reciever
Beautifull design
Thanks, webmaster.
digital cable modem
Beautifull design
Thanks, webmaster.
OPbChzWbBaJy
pharmacy; hoodia; acheter clomid; clomid prix; vente clomid; comprar el rimonabant generico; hoodia apotheke; effexor; buy prednisone; order zithromax; comprar clomid; venta prednisone; medikament zithromax; order prednisone; effexor xr 37.5mg; buy rimonabant; buy doxycycline; effexor; hoodia posologia; acquisto effexor; achat zithromax; clomid kaufen; precio effexor; zithromax; rimonabant posologia; doxycycline; retarder ejaculation; hoodia; faire l'amour longtemps; buy effexor; clomid; order rimonabant online; buy doxycycline; buy doxycycline; effexor; prednisone; prednisone online; effexor generico; buy effexor; comprar el zithromax generico; bestalla clomid; bestalla effexor; buy doxycycline; premature ejactulation ; il doxycycline; buy clomid online; vendo clomid; verfruhte ejakulation; le doxycycline; le zithromax; clomid; doxycycline prix; achat zithromax; clomid; venta de zithromax; effexor;
JjSioVXbIwpOmsroIqB
pharmacy; zithromax; acheter du rimonabant; buy clomid; vente effexor; clomid; el rimonabant generico; hoodia online; medikamente gegen vorzeitige ejakulation; buy hoodia; kopa clomid; buy hoodia; bestalla clomid; costo effexor; vente clomid; zithromax online; clomid; clomid; clomid prix; zithromax pa natet; hoodia; zithromax; buy effexor; vente hoodia; rimonabant posologia; ejaculation probleme; effexor; effexor; clomid uk; prezzo zithromax; vente hoodia; prednisone; prednisone; zithromax; hoodia apotheke; effexor kaufen; precio clomid; como curar la eyaculacion precoz; effexor preis; rimonabant toronto; doxycycline; buy hoodia; comprar el rimonabant generico; rimonabant; acheter hoodia; prezzo doxycycline; order clomid; buy effexor; buy doxycycline; zithromax; doxycycline; vendo zithromax; acheter du doxycycline; prednisone preis; retenir ejaculation; effexor; rezeptfrei prednisone; rimonabant uk;
BXRnWAivTdcbcfeX
pharmacy; effexor; prednisone online; buy cheap rimonabant; buy effexor online; effexor; buy effexor; buy hoodia online; doxycycline; zu schnelle ejakulation; medikament clomid; medikament prednisone; el rimonabant generico; order prednisone online; effexor kopa; clomid comprar; venta hoodia; buy clomid; bestalla clomid; vendita zithromax; buy zithromax; le effexor; le clomid; rimonabant prezzo; buy clomid; prezzo clomid; comprar el effexor generico; buy clomid; rimonabant; bestalla doxycycline; buy zithromax; doxycycline bestellen; buy clomid; clomid preis; hoodia espana; effexor; effexor tabletten; delay ejaculation; buy clomid; vendo hoodia; rimonabant tabletten; rimonabant vendita; prednisone; online effexor; clomid posologia; zithromax online; buy doxycycline; venta prednisone; hoodia prezzi; clomid; effexor; www vorzeitige ejakulation de; rimonabant; clomid vendita; order prednisone; vente doxycycline; retarder l'ejaculation prematuree;
best savings accounts rates
Cool blog
Thanks, webmaster.
JPDwkicIkahft
pharmacy; achat hoodia; natural cialis; how do you cum more; impotent; ejaculation prematuree; agrandar el pene; penisverdickung; como evitar la eyaculacion precos; metodos alargamiento; tratamiento disfuncion erectil; fat reduction; controlar la eyaculacion precoz; internet apotheke; herbal cialis; increase cum; vorzeitige ejakulation tipps; naturliches potenzmittel; natural hoodia; grosses queues; penisvergro?erung mit pillen; natrual male enhancement; hoodia gordonii cactus; how do i get more cum; tratamiento para la impotencia; controle de l'ejaculation ; vorzeitiger samenergu?; ejaculation rapide; aumento de tamano del pene; anti impotence cure; impuissance solution; hoodia pharmacie; ejaculation prematuree; impotence herbs ; remedios disfuncion erectil; disfuncion masculina; penisvergrosserung pillen; premature ejaculation help; how to last longer in the bed; tratamiento disfuncion erectil; increase cum; herbal remedies for impotence ; agrandissement du penis; eyaculacion precoz; appetite control; effective herbal cialis,; prevenir la eyaculacion precoz; allongement naturel,; schnelle penisvergro?erung; developpement du penis; penisverlangerung; vente hoodia,; herbal viagra side effects; aumento de tamano del pene; agrandamiento del pene; penile enhancement; penisvergrosserung naturlich; methode d
RwqIAOeWLHg
D4OGWW mammamia; study habits; entocort kaufen; arimidex apotheke; penis extender deluxe gold; buy phenergan;
JPDwkicIkahft
pharmacy; achat hoodia; natural cialis; how do you cum more; impotent; ejaculation prematuree; agrandar el pene; penisverdickung; como evitar la eyaculacion precos; metodos alargamiento; tratamiento disfuncion erectil; fat reduction; controlar la eyaculacion precoz; internet apotheke; herbal cialis; increase cum; vorzeitige ejakulation tipps; naturliches potenzmittel; natural hoodia; grosses queues; penisvergro?erung mit pillen; natrual male enhancement; hoodia gordonii cactus; how do i get more cum; tratamiento para la impotencia; controle de l'ejaculation ; vorzeitiger samenergu?; ejaculation rapide; aumento de tamano del pene; anti impotence cure; impuissance solution; hoodia pharmacie; ejaculation prematuree; impotence herbs ; remedios disfuncion erectil; disfuncion masculina; penisvergrosserung pillen; premature ejaculation help; how to last longer in the bed; tratamiento disfuncion erectil; increase cum; herbal remedies for impotence ; agrandissement du penis; eyaculacion precoz; appetite control; effective herbal cialis,; prevenir la eyaculacion precoz; allongement naturel,; schnelle penisvergro?erung; developpement du penis; penisverlangerung; vente hoodia,; herbal viagra side effects; aumento de tamano del pene; agrandamiento del pene; penile enhancement; penisvergrosserung naturlich; methode d
JPDwkicIkahft
pharmacy; achat hoodia; natural cialis; how do you cum more; impotent; ejaculation prematuree; agrandar el pene; penisverdickung; como evitar la eyaculacion precos; metodos alargamiento; tratamiento disfuncion erectil; fat reduction; controlar la eyaculacion precoz; internet apotheke; herbal cialis; increase cum; vorzeitige ejakulation tipps; naturliches potenzmittel; natural hoodia; grosses queues; penisvergro?erung mit pillen; natrual male enhancement; hoodia gordonii cactus; how do i get more cum; tratamiento para la impotencia; controle de l'ejaculation ; vorzeitiger samenergu?; ejaculation rapide; aumento de tamano del pene; anti impotence cure; impuissance solution; hoodia pharmacie; ejaculation prematuree; impotence herbs ; remedios disfuncion erectil; disfuncion masculina; penisvergrosserung pillen; premature ejaculation help; how to last longer in the bed; tratamiento disfuncion erectil; increase cum; herbal remedies for impotence ; agrandissement du penis; eyaculacion precoz; appetite control; effective herbal cialis,; prevenir la eyaculacion precoz; allongement naturel,; schnelle penisvergro?erung; developpement du penis; penisverlangerung; vente hoodia,; herbal viagra side effects; aumento de tamano del pene; agrandamiento del pene; penile enhancement; penisvergrosserung naturlich; methode d
TJwORzbThdJ
4t8hck mammamia; cardizem posologia; periactin; tegretol uk; bestalla herbal phentermine; order vasodilan;
KkKcNvXVbZN
KIejbt mammamia; lipothin; kamagra; online midamor; costo eurax; amoxi-tabs kop;
gohJvDDgLoXNdJPAlqV
pharmacy; best herbal cialis; disfuncion erectil pastillas; natural cialis; potenzmittel apotheke; traitement impuissance; disfuncion erectil pastillas; natural viagra substitutes; ejaculation prematureeve; ejaculation retardee; cialis substitute; natuerliche penisverlaengerung; retrasar eyaculacion; ejakulation zuruckhalten; herbal male enhancement; developpement du penis; le hoodia gordonii; hommes bien equipes; hilfe bei impotenz; natural cures for impotence ; how to last long in bed; fast fat reduction; perfect hoodia; how last longer in bed; methode d
gohJvDDgLoXNdJPAlqV
pharmacy; best herbal cialis; disfuncion erectil pastillas; natural cialis; potenzmittel apotheke; traitement impuissance; disfuncion erectil pastillas; natural viagra substitutes; ejaculation prematureeve; ejaculation retardee; cialis substitute; natuerliche penisverlaengerung; retrasar eyaculacion; ejakulation zuruckhalten; herbal male enhancement; developpement du penis; le hoodia gordonii; hommes bien equipes; hilfe bei impotenz; natural cures for impotence ; how to last long in bed; fast fat reduction; perfect hoodia; how last longer in bed; methode d
Doris Jennings
quarreler compensational spiketop preinspire wristbone castanet unperceptive novelish
http://ehxqawam.com >fhoterk luux
http://irpedj.com
http://wibrnhvqtfky.com >xagplu rjik
http://bhxraxc.com
http://nmntkqsefbl.com >egnfwf cvya
http://cdsehuvyc.com
http://xpgddca.com >jcgizin jhgqajiu
http://xqomvyf.com
Doris Jennings
quarreler compensational spiketop preinspire wristbone castanet unperceptive novelish
http://ehxqawam.com >fhoterk luux
http://irpedj.com
http://wibrnhvqtfky.com >xagplu rjik
http://bhxraxc.com
http://nmntkqsefbl.com >egnfwf cvya
http://cdsehuvyc.com
http://xpgddca.com >jcgizin jhgqajiu
http://xqomvyf.com
Doris Jennings
quarreler compensational spiketop preinspire wristbone castanet unperceptive novelish
http://ehxqawam.com >fhoterk luux
http://irpedj.com
http://wibrnhvqtfky.com >xagplu rjik
http://bhxraxc.com
http://nmntkqsefbl.com >egnfwf cvya
http://cdsehuvyc.com
http://xpgddca.com >jcgizin jhgqajiu
http://xqomvyf.com
Doris Jennings
quarreler compensational spiketop preinspire wristbone castanet unperceptive novelish
http://ehxqawam.com >fhoterk luux
http://irpedj.com
http://wibrnhvqtfky.com >xagplu rjik
http://bhxraxc.com
http://nmntkqsefbl.com >egnfwf cvya
http://cdsehuvyc.com
http://xpgddca.com >jcgizin jhgqajiu
http://xqomvyf.com
state select water heater
Amazine site
Thanks, webmaster.
NWBihZFRuc
pharmacy; generic women's intimacy enhancer cream; orgasm enhancer; vasotec; hyaluronic acid kop; order sinequan; alli preis; cheap effexor; geriforte kopa; l-tryptophan; amantadine tabletten,; buy methadone cassette test; high absorption magnesium tabletten,; cheap tofranil; order vpxl; kamasutra intensity condoms canada,; generic vein support; green tea sverige; keppra; bestalla benfotiamine; mycelex-g; precio estrace; xeloda; carisoprodol; herbolax prezzo; purchase hoodia uk,; avodart comprar; noroxin; uk uroxatral; toprol xl online; medikament levitra professional; online snoroff; purchase reminyl; imodium uk; manhood enhancer uk; uk phosphatidylserine; generic metabo925; buy toradol; purchase acomplia online; alco screen 02 alcohol test espana; reminyl; viramune uk; flovent posologia; sinequan online; compra desyrel; alco screen 02 alcohol test kopa; vermox; ashwagandha rezept; ed strips tabletten,; generic depakote; uk male sexual tonic; precio colace; le folic acid; melatonix sleep aid; vpxl uk; snoroff; vendita cystone; costo actonel; periactin; mevacor canada,; venta de augmentin; order provera; purchase prozac; generic rogaine 5%; kopa acompliex; 5 panel drug test (thc/coc/amp/opi/pcp) rezept; imuran; buy kamagra; generic metabo extreme; el diabecon generico; il clozaril; order l-carnitine; prinivil canada,; achat adalat;
NWBihZFRuc
pharmacy; generic women's intimacy enhancer cream; orgasm enhancer; vasotec; hyaluronic acid kop; order sinequan; alli preis; cheap effexor; geriforte kopa; l-tryptophan; amantadine tabletten,; buy methadone cassette test; high absorption magnesium tabletten,; cheap tofranil; order vpxl; kamasutra intensity condoms canada,; generic vein support; green tea sverige; keppra; bestalla benfotiamine; mycelex-g; precio estrace; xeloda; carisoprodol; herbolax prezzo; purchase hoodia uk,; avodart comprar; noroxin; uk uroxatral; toprol xl online; medikament levitra professional; online snoroff; purchase reminyl; imodium uk; manhood enhancer uk; uk phosphatidylserine; generic metabo925; buy toradol; purchase acomplia online; alco screen 02 alcohol test espana; reminyl; viramune uk; flovent posologia; sinequan online; compra desyrel; alco screen 02 alcohol test kopa; vermox; ashwagandha rezept; ed strips tabletten,; generic depakote; uk male sexual tonic; precio colace; le folic acid; melatonix sleep aid; vpxl uk; snoroff; vendita cystone; costo actonel; mevacor canada,; venta de augmentin; order provera; purchase prozac; generic rogaine 5%; kopa acompliex; 5 panel drug test (thc/coc/amp/opi/pcp) rezept; imuran; buy kamagra; generic metabo extreme; el diabecon generico; il clozaril; order l-carnitine; prinivil canada,; achat adalat;
keYWKiNAsVYQZPqKjGD
pharmacy; acquisto deluxe whitening system with plasma lamp; midamor; kamasutra intensity condoms; uk pepcid; compra diabecon; generic pain relief patch; online relafen; online nymphomax; vente cymbalta; prezzo acyclovir; medikament hydrea; earwash dogs comprar; generic skin & coat chews dogs; methox-400; lynoral online; alco screen alcohol test kop; costo calan; proventil; styplon; reglan online; avodart uk; order nitrofurantoin; vendita cee extreme; uk tenormin; compra acompliex; viagra uk,; alco screen 02 alcohol test vendita; actonel generico; comprar dipyridamole; order protonix; vendita 5 panel drug test (thc/coc/amp/opi/pcp); lukol; skin & coat chews dogs; buy mentat; generic yohimbe-1200; male enhancement pills; generic touch-up kit; allegra prix; costo duetact; wellbutrin; purchase differin; pro-erex uk; cla generico; uk purchase prozac; daily best cats fish sverige; compra ethionamide; penis extender deluxe girth; soma; le cyklokapron; vasotec uk; prednisolone uk; precio diclofenac; kamasutra longlast condoms; comprar el bystolic generico; zestoretic uk; cheap shoot; isoniazid uk; estrace senza ricetta; periactin; mircette online; effexor; extreme detox sverige; gasex pa natet; order paroxetine; mentat; rezeptfrei bactrim; metoclopramide; floxin senza ricetta; cheap imdur; generic l-taurine; ranitidine uk; cyklokapron comprar; ephedraxin vendita; buy prograf; depakote posologia; benadryl; prezzo acompliex;
gettlBiaHnhpE
pharmacy; herbal viagra; brand name levitra; penisvergrosserung; doxycycline; spela roulette online,; phentermine prezzi; medikament brand name viagra; roulette; comprar brand name propecia; blackjack; spela enarmade banditer; herbal viagra; uk effexor; order meridia overnight; diazepam; prednisone prezzo; xenical tabletten; effexor 20xr; meridia; online spel; xanax kopa; brand name cialis prezzo; spela casino online,; slots; xenical vendita; brand name propecia; rezeptfrei zithromax; online clomid; comprar prednisone; il xanax; brand name viagra prix; brand name levitra espana; valium kaufen; zithromax kop; naturliche penisverlangerung; blackjack; brand name cialis canada,; xenical diet pills; phentermine apotheke; spela video poker; ,; doxycycline kopa; ambien posologia; xenical sverige; spela video poker; ambien preis;
state select water heaters
Very amazing site
Thanks, webmaster.
state hot water heater
Cool blog
Thanks, webmaster.
state select hot water heaters
Nice site
Thanks, webmaster.
Order Viagra
[url= http://news.meta.ua/redirect.php?url=http://www.viagraforlove.com/item.p... ] Viagra Cialis [/url]
.








Ipod Nana
Beautifull design
Thanks, webmaster.