Changeset 311ece3 for fedd/federation


Ignore:
Timestamp:
Jul 5, 2012 3:44:33 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
cd5b279
Parents:
7ec0dc2
Message:

Make auth log more xml-like

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/client_lib.py

    r7ec0dc2 r311ece3  
    5959def log_authentication(fn, action, outcome, proof):
    6060    f = open(fn, 'a')
    61     print >>f, '%s %s at %s' % (action, outcome, datetime.now())
     61    print >>f, '<comment>%s %s at %s</comment>' % (action, outcome, datetime.now())
    6262    if isinstance(proof, list):
    6363        for p in proof:
Note: See TracChangeset for help on using the changeset viewer.