F
Fayaz Yusuf Khan
I'm writing a custom logging Handler that sends emails through AWS Simple
Email Service using the boto library.
As there's a quota cap on how many (200) emails I can send within 24hrs, I
think I need to buffer my log messages from the emit() calls (Or is that a bad
idea?).
And I was reading the Handler documentation and was confused if I should call
the acquire() and release() methods from within a flush() call.
--
Fayaz Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAABAgAGBQJPQ0Z5AAoJEFp5PFlEQdURTJ4H+wcneCDLQqDEh8yQnyYDlUbZ
ZX5L6Z65+rtZNYwiRDeS56KgRpsalBO2AB+oPJRVklgztAVuW5hHUO98eky3a0NJ
g5mCC/311jUupZA+sQ89eEH0vwPuwqqyYS2QUqbQTzDBWtidQGpmtevBJBh3LDvs
OLZyglit98lw35a/vB4C8PRTeynI332AfVEsUSMIFl9UPaJB9bWPmmENEdAxfGRi
2Sb7It5oLHiPRCWXIdCnKZ4t2exlp2j7tySayWSdUNxvbQzLVcfkM1EQCINCyh9j
yYxT7bPV3NTCXbY8qTGhw6xHCt8/pwho+ovisR+LLWI4scL15rZ7J/9VZ1VJBYY=
=xECD
-----END PGP SIGNATURE-----
Email Service using the boto library.
As there's a quota cap on how many (200) emails I can send within 24hrs, I
think I need to buffer my log messages from the emit() calls (Or is that a bad
idea?).
And I was reading the Handler documentation and was confused if I should call
the acquire() and release() methods from within a flush() call.
--
Fayaz Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAABAgAGBQJPQ0Z5AAoJEFp5PFlEQdURTJ4H+wcneCDLQqDEh8yQnyYDlUbZ
ZX5L6Z65+rtZNYwiRDeS56KgRpsalBO2AB+oPJRVklgztAVuW5hHUO98eky3a0NJ
g5mCC/311jUupZA+sQ89eEH0vwPuwqqyYS2QUqbQTzDBWtidQGpmtevBJBh3LDvs
OLZyglit98lw35a/vB4C8PRTeynI332AfVEsUSMIFl9UPaJB9bWPmmENEdAxfGRi
2Sb7It5oLHiPRCWXIdCnKZ4t2exlp2j7tySayWSdUNxvbQzLVcfkM1EQCINCyh9j
yYxT7bPV3NTCXbY8qTGhw6xHCt8/pwho+ovisR+LLWI4scL15rZ7J/9VZ1VJBYY=
=xECD
-----END PGP SIGNATURE-----