Index: main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py	(revision 6458)
+++ main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py	(revision 6459)
@@ -139,5 +139,6 @@
             if 'disable' in form:
                 try:
-                    self.context.disable(entry, self.request.principal.id)
+                    comment = u"Disabled by %s" % self.request.principal.id
+                    self.context.disable(entry, comment)
                     self.flash('%s disabled.' % entry)
                 except InvalidTransitionError:
@@ -145,5 +146,6 @@
             elif 'enable' in form:
                 try:
-                    self.context.enable(entry, self.request.principal.id)
+                    comment = u"Re-enabled by %s" % self.request.principal.id
+                    self.context.enable(entry, comment)
                     self.flash('%s (re-)enabled.' % entry)
                 except InvalidTransitionError:
Index: main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscodes.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscodes.py	(revision 6458)
+++ main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/tests/test_accesscodes.py	(revision 6459)
@@ -192,5 +192,5 @@
         history = IObjectHistory(self.ac1)
         msgs = history.messages
-        assert msgs[-1].endswith(' - Used (new state: used)')
+        assert msgs[-1].endswith('Used by system')
 
 class AccessCodeTests(FunctionalTestCase):
@@ -236,5 +236,5 @@
         # Access codes have a history.
         match = re.match(
-            '^../../.... ..:..:.. - Initialized \(new state: initialized\)',
+            '^../../.... ..:..:.. - Initialized by system',
             self.ac1.history)
         assert match is not None
Index: main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/workflow.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/workflow.py	(revision 6458)
+++ main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/workflow.py	(revision 6459)
@@ -121,8 +121,10 @@
     # append message to history
     timestamp = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
-    msg = '%s - %s (new state: %s)' % (
-        timestamp, event.destination.title(), event.destination)
+    msg = '%s -' % timestamp
     if event.comment is not None:
-        msg = '%s, %s' % (msg, event.comment)
+        msg = '%s %s' % (msg, event.comment)
+    else:
+        msg = '%s %s by system' % (msg,event.destination.title())
+
     history = IObjectHistory(obj)
     history.addMessage(msg)
