{"head":"a4fdb88ee6b2e05641f490f8e20e4476bebff9c3","size":15,"push_id":45995201,"shas":[["e60cdd6c1670af114c3f407eaba887ad37a31b22","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Moved log file name generation to perl\n\nI don't think that the class/personal distinction is the best for\ngeneral protocols, but I don't know what should replace it.  I've made\nclass-logging default to only zephyr (a slight change from previous\nbehavior, where jabber MUC's would be logged to $classlogpath), but made\nlogging path generation overridable.\n\nCase-adjustment is nowhere near perfect.  I'm told Jabber uses NFKC\n(from\nhttp://xmpp.org/internet-drafts/attic/draft-ietf-xmpp-nodeprep-03.html),\nbut I haven't touched the jabber code (we now don't case-normalize for\njabber, which may or may not be better than downcasing outgoing jabbers\nand leaving incoming ones alone).  We now use lc instead of\ng_utf8_strdown to normalize zephyr class names and AIM screennames.","Jason Gross"],["b5633ef5914fd05e1a85adf85b2be99c003443b6","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Normalize Jabber logging file names.\n\nI chose to use lc, because it's simple.\nhttp://xmpp.org/internet-drafts/attic/draft-ietf-xmpp-nodeprep-03.html\nsays we should use NFKC.","Jason Gross"],["f3048af83abb40323324b39a62c267e0282ce93c","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Moved outgoing zephyr error logging to perl","Jason Gross"],["e4f44937ff6f7fe439b0c10abf13eb6040f21e92","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Moved the checking of whether or not to log messages to perl","Jason Gross"],["4563d20ad94129473a79be47d4cd8895028e1fce","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Moved notification of message logging to perl","Jason Gross"],["12c5f9d017e7ab3577c4f9a837342652bd7d5b5a","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Scrapped the last bits of C code dealing with jabber.\n\nAdditionally, moved logging-specific variables to perl (the ones that\ncould be moved losslessly, i.e., no special validsettings and not\nenums).\n\nWe still have an OWL_PROTOCOL_JABBER in owl.h, but it does no harm being\nthere, and we don't use any of the other ones except for AIM.  I figure\nthere's no harm in waiting and ripping all of them out at the same time\nin perl/AIM","Jason Gross"],["586edb376dcc9afae60b6178c9de37899bbdcd9a","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Refactored perl variable creation code in preparation for ambiguous types\n\nWhen we allow enums in perl, we can't be sure that recreation of an int\nisn't actually changing it into an enum (though, really, variables\nshould only be recreated when you reload module code).  This makes\nBarnOwl reinitilize all the fields, but keep the current value, if there\nis one.","Jason Gross"],["8b1213eeacadb2eb4e7b34035fb7dc1e3c33079d","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Added functionality to create new enum variables from C","Jason Gross"],["8843eb6c01293288daa2db366df4e42586202959","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Added functionality for creating enum variables from perl","Jason Gross"],["f6e0714e96bc69e401d56cb6dee619d24255ade6","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Allowed custom validsettings for other non-boolean perl variables.","Jason Gross"],["ab6c4e10d527d456eca9ed4010ea7ba4d4c00d9e","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Add tests for enum variables.","Jason Gross"],["b7092f6e8787070ef1ad8cf03d1d892f5c4fa8df","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Moved the last of the logging-related variables to perl\n\nWe seem to have picked logpath as the string variable we test in\ntester.c.  Since this is no longer in C, I've replaced it with\npersonalbell (no particular reason for that choice).","Jason Gross"],["b7e84096744d8be4921399c012171b42ee98f45b","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Added a logadmin variable for logging admin messages","Jason Gross"],["7814c6cb80d6fea4e2ddbaa685be3c592276cb14","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Ignore kerberos instances in the sender and recipient when logging\n\nThis fixes trac-#151 (Handle logging of personal zephyrs from different\ninstances of Kerberos principals sanely).  Stripping the instance is\nonly done for the filename, not for the actual log contents.","Jason Gross"],["a4fdb88ee6b2e05641f490f8e20e4476bebff9c3","29bbaec13092d36559e3abc6f27f7d09c395819f@mit.edu","Log different realms to different files","Jason Gross"]],"ref":"refs/heads/perl-logging"}