Necrobious'

Thursday, January 31, 2008

Thurday Mornings

Thurday mornings, my work usually has a team meeting. This week, The Boss and The Company Owner are at a conference, one peer is leaving the company today and another is at Jury Duty. My assumption is that we wouldn't have a meeting this week. Wrong! The owner is there, with most of my co-workers, I am 10 minutes late, and I am not prepared.
I receive loot:[Pants Crap of the Belated]

Wednesday, January 30, 2008

Erlang logging example from #erlang

[5:24pm] Toad: anyone have a pointer for a good intro on error logging in production machines?
[5:24pm] Toad: e.g. the various error_logger modules, whether I should implement my own event handlers, etc?
[5:33pm] lisppaste4: archaelus pasted "system config snippet for prod logging" at http://paste.lisp.org/display/55103
[5:33pm] archaelus: Toad: that's what I use - to access logs in production I use rb
[5:34pm] archaelus: erl -remsh prodnode -name consolenode, rb:rescan([{max,10},{type, [error]}]), rb:list() and so on
[5:59pm] Toad: cool, thanks archaelus

{sasl, [{sasl_error_logger, {file, "priv/log/sasl.log"}},
{error_logger_mf_dir, "priv/log/sasl"},
{error_logger_mf_maxfiles, 20},
{error_logger_mf_maxbytes, 524288}, %512Kb log files
{releases_dir, "releases"}
]}