incubator-alois-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fla...@apache.org
Subject svn commit: r1066428 - /incubator/alois/trunk/prisma/data/prisma/prisma_database/model/swissmentor_base_meta.rb
Date Wed, 02 Feb 2011 11:48:47 GMT
Author: flavio
Date: Wed Feb  2 11:48:47 2011
New Revision: 1066428

URL: http://svn.apache.org/viewvc?rev=1066428&view=rev
Log:
Added UserLogout to swissmentor

Modified:
    incubator/alois/trunk/prisma/data/prisma/prisma_database/model/swissmentor_base_meta.rb

Modified: incubator/alois/trunk/prisma/data/prisma/prisma_database/model/swissmentor_base_meta.rb
URL: http://svn.apache.org/viewvc/incubator/alois/trunk/prisma/data/prisma/prisma_database/model/swissmentor_base_meta.rb?rev=1066428&r1=1066427&r2=1066428&view=diff
==============================================================================
--- incubator/alois/trunk/prisma/data/prisma/prisma_database/model/swissmentor_base_meta.rb
(original)
+++ incubator/alois/trunk/prisma/data/prisma/prisma_database/model/swissmentor_base_meta.rb
Wed Feb  2 11:48:47 2011
@@ -22,7 +22,7 @@ class SwissmentorBaseMeta < ActiveRecord
     ret = []
 
     # SMS: [broesel@127.0.0.1] Login successful for user broesel
-    ret.push({ :regex => /^(\S+): \[(\S*)\@(\S+)\] (Login denied for user|Login request
user|Login successful for user):? (.*)$/,
+    ret.push({ :regex => /^(\S+): \[(\S*)\@(\S+)\] (Login denied for user|Login request
user|Login successful for user|User Logout):? (.*)$/,
                :fields => [:process, :client_user, :client_ip, :message],
                :result_filter => lambda {|results, instance|                 
                  results[1] = results[4] if results[1].blank?



Mime
View raw message