erkki-production_log_analyzer 2009022401
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +34 -0
- data/LICENSE.txt +27 -0
- data/Manifest.txt +18 -0
- data/README.txt +147 -0
- data/Rakefile +17 -0
- data/bin/action_errors +46 -0
- data/bin/action_grep +19 -0
- data/bin/pl_analyze +36 -0
- data/lib/production_log/action_grep.rb +42 -0
- data/lib/production_log/analyzer.rb +406 -0
- data/lib/production_log/parser.rb +178 -0
- data/test/test.syslog.0.14.x.log +5 -0
- data/test/test.syslog.1.2.shortname.log +5 -0
- data/test/test.syslog.empty.log +2 -0
- data/test/test.syslog.log +258 -0
- data/test/test_action_grep.rb +66 -0
- data/test/test_analyzer.rb +418 -0
- data/test/test_parser.rb +297 -0
- metadata +97 -0
@@ -0,0 +1,178 @@
|
|
1
|
+
##
|
2
|
+
# LogParser parses a Syslog log file looking for lines logged by the 'rails'
|
3
|
+
# program. A typical log line looks like this:
|
4
|
+
#
|
5
|
+
# Mar 7 00:00:20 online1 rails[59600]: Person Load (0.001884) SELECT * FROM people WHERE id = 10519 LIMIT 1
|
6
|
+
#
|
7
|
+
# LogParser does not work with Rails' default logger because there is no way
|
8
|
+
# to group all the log output of a single request. You must use SyslogLogger.
|
9
|
+
|
10
|
+
module LogParser
|
11
|
+
|
12
|
+
##
|
13
|
+
# LogEntry contains a summary of log data for a single request.
|
14
|
+
|
15
|
+
class LogEntry
|
16
|
+
|
17
|
+
##
|
18
|
+
# Controller and action for this request
|
19
|
+
|
20
|
+
attr_reader :page
|
21
|
+
|
22
|
+
##
|
23
|
+
# Requesting IP
|
24
|
+
|
25
|
+
attr_reader :ip
|
26
|
+
|
27
|
+
##
|
28
|
+
# Time the request was made
|
29
|
+
|
30
|
+
attr_reader :time
|
31
|
+
|
32
|
+
##
|
33
|
+
# Array of SQL queries containing query type and time taken. The
|
34
|
+
# complete text of the SQL query is not saved to reduct memory usage.
|
35
|
+
|
36
|
+
attr_reader :queries
|
37
|
+
|
38
|
+
##
|
39
|
+
# Total request time, including database, render and other.
|
40
|
+
|
41
|
+
attr_reader :request_time
|
42
|
+
|
43
|
+
##
|
44
|
+
# Total render time.
|
45
|
+
|
46
|
+
attr_reader :render_time
|
47
|
+
|
48
|
+
##
|
49
|
+
# Total database time
|
50
|
+
|
51
|
+
attr_reader :db_time
|
52
|
+
|
53
|
+
##
|
54
|
+
# Creates a new LogEntry from the log data in +entry+.
|
55
|
+
|
56
|
+
attr_reader :row_count, :query_count, :request_size, :response_size
|
57
|
+
|
58
|
+
def initialize(entry)
|
59
|
+
@page = nil
|
60
|
+
@ip = nil
|
61
|
+
@time = nil
|
62
|
+
@queries = []
|
63
|
+
@request_time = 0
|
64
|
+
@render_time = 0
|
65
|
+
@db_time = 0
|
66
|
+
@in_component = 0
|
67
|
+
|
68
|
+
parse entry
|
69
|
+
end
|
70
|
+
|
71
|
+
##
|
72
|
+
# Extracts log data from +entry+, which is an Array of lines from the
|
73
|
+
# same request.
|
74
|
+
|
75
|
+
def parse(entry)
|
76
|
+
entry.each do |line|
|
77
|
+
case line
|
78
|
+
when /^Parameters/, /^Cookie set/, /^Rendering/,
|
79
|
+
/^Redirected/ then
|
80
|
+
# nothing
|
81
|
+
when /^Processing ([\S]+) \(for (.+) at (.*)\)/ then
|
82
|
+
next if @in_component > 0
|
83
|
+
@page = $1
|
84
|
+
@ip = $2
|
85
|
+
@time = $3
|
86
|
+
when /^Completed in ([\S]+) \(\d* reqs\/sec\) \| (.+)/ then
|
87
|
+
next if @in_component > 0
|
88
|
+
@request_time = $1.to_f
|
89
|
+
log_info = $2
|
90
|
+
|
91
|
+
log_info = log_info.split(' | ')
|
92
|
+
log_info = log_info.map do |entry|
|
93
|
+
next nil unless entry.index(': ')
|
94
|
+
result = entry.strip.split(': ')
|
95
|
+
if result.size > 2
|
96
|
+
result = [result[0], result[1..-1].join(':')]
|
97
|
+
end
|
98
|
+
result
|
99
|
+
end.compact.flatten
|
100
|
+
|
101
|
+
log_info = Hash[*log_info]
|
102
|
+
|
103
|
+
@row_count = log_info['Rows'].to_i
|
104
|
+
@query_count = log_info['Queries'].to_i
|
105
|
+
@request_size = log_info['Request Size'].to_i
|
106
|
+
@response_size = log_info['Response Size'].to_i
|
107
|
+
|
108
|
+
@page = log_info['Processed'] || 'unknown'
|
109
|
+
@page += ".#{log_info['Response Format']}" if log_info['Response Format']
|
110
|
+
|
111
|
+
@db_time = log_info['DB'].split(' ').first.to_f if log_info['DB']
|
112
|
+
@render_time = log_info['Rendering'].split(' ').first.to_f if log_info['Rendering']
|
113
|
+
|
114
|
+
when /(.+?) \(([^)]+)\) / then
|
115
|
+
@queries << [$1, $2.to_f]
|
116
|
+
when /^Start rendering component / then
|
117
|
+
@in_component += 1
|
118
|
+
when /^End of component rendering$/ then
|
119
|
+
@in_component -= 1
|
120
|
+
when /^Fragment hit: / then
|
121
|
+
else # noop
|
122
|
+
# raise "Can't handle #{line.inspect}" if $TESTING
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def ==(other) # :nodoc:
|
128
|
+
other.class == self.class and
|
129
|
+
other.page == self.page and
|
130
|
+
other.ip == self.ip and
|
131
|
+
other.time == self.time and
|
132
|
+
other.queries == self.queries and
|
133
|
+
other.request_time == self.request_time and
|
134
|
+
other.render_time == self.render_time and
|
135
|
+
other.db_time == self.db_time
|
136
|
+
end
|
137
|
+
|
138
|
+
end
|
139
|
+
|
140
|
+
##
|
141
|
+
# Parses IO stream +stream+, creating a LogEntry for each recognizable log
|
142
|
+
# entry.
|
143
|
+
#
|
144
|
+
# Log entries are recognised as starting with Processing, continuing with
|
145
|
+
# the same process id through Completed.
|
146
|
+
|
147
|
+
def self.parse(stream) # :yields: log_entry
|
148
|
+
buckets = Hash.new { |h,k| h[k] = [] }
|
149
|
+
comp_count = Hash.new 0
|
150
|
+
|
151
|
+
stream.each_line do |line|
|
152
|
+
line =~ / ([^ ]+) ([^ ]+)\[(\d+)\]: (.*)/
|
153
|
+
next if $2.nil? or $2 == 'newsyslog'
|
154
|
+
bucket = [$1, $2, $3].join '-'
|
155
|
+
data = $4
|
156
|
+
|
157
|
+
buckets[bucket] << data
|
158
|
+
|
159
|
+
case data
|
160
|
+
when /^Start rendering component / then
|
161
|
+
comp_count[bucket] += 1
|
162
|
+
when /^End of component rendering$/ then
|
163
|
+
comp_count[bucket] -= 1
|
164
|
+
when /^Completed/ then
|
165
|
+
next unless comp_count[bucket] == 0
|
166
|
+
entry = buckets.delete bucket
|
167
|
+
# next unless entry.any? { |l| l =~ /^Processing/ }
|
168
|
+
yield LogEntry.new(entry)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
buckets.each do |bucket, data|
|
173
|
+
yield LogEntry.new(data)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
end
|
178
|
+
|
@@ -0,0 +1,5 @@
|
|
1
|
+
//src/production_log_analyzer/dev/test/test.syslog.0.14.x.log#1 - add change 3135 (text)
|
2
|
+
Nov 7 12:14:02 192.168.1.71 43things[24950]: Processing RssController#entries (for 10.43.199.12 at 2005-11-07 12:14:02) [GET]
|
3
|
+
Nov 7 12:14:02 192.168.1.71 43things[24950]: Parameters: {"rss/entries/goal.html/entries/goal"=>nil, "action"=>"entries", "id"=>"goal", "controller"=>"rss", "goal_id"=>"86381"}
|
4
|
+
Nov 7 12:14:02 192.168.1.71 43things[24950]: Rendering rss/rss2.0
|
5
|
+
Nov 7 12:14:02 192.168.1.71 43things[24950]: Completed in 0.00860 (116 reqs/sec) | DB: 0.00328 (38%) | 200 OK [http://www.43things.com/rss/entries/goal?goal_id=86381]
|
@@ -0,0 +1,5 @@
|
|
1
|
+
//src/production_log_analyzer/dev/test/test.syslog.1.2.shortname.log#1 - add change 3135 (text)
|
2
|
+
Jan 17 16:19:22 tlucas rails[2265]: Processing Short#a (for 127.0.0.1 at 2007-01-17 16:19:22) [GET]
|
3
|
+
Jan 17 16:19:22 tlucas rails[2265]: Parameters: {"action"=>"a", "controller"=>"short"}
|
4
|
+
Jan 17 16:19:22 tlucas rails[2265]: Rendering short/a
|
5
|
+
Jan 17 16:19:22 tlucas rails[2265]: Completed in 0.02666 (37 reqs/sec) | Rendering: 0.02261 (84%) | DB: 0.00222 (8%) | 200 OK [http://127.0.0.1/short]
|
@@ -0,0 +1,258 @@
|
|
1
|
+
//src/production_log_analyzer/dev/test/test.syslog.log#1 - add change 3135 (text)
|
2
|
+
Mar 7 00:00:00 online1 newsyslog[61307]: logfile turned over
|
3
|
+
Mar 7 00:00:20 online1 rails[59600]: Goal Load (0.002112) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 59133 ORDER BY score DESC LIMIT 3
|
4
|
+
Mar 7 00:00:20 online1 rails[59600]: Tag Load (0.001527) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 59133 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
5
|
+
Mar 7 00:00:20 online1 rails[59600]: Rendering things/view within layouts/default
|
6
|
+
Mar 7 00:00:20 online1 rails[59600]: Person Load (0.001884) SELECT * FROM people WHERE id = 10519 LIMIT 1
|
7
|
+
Mar 7 00:00:20 online1 rails[59600]: Person Load (0.001159) SELECT * FROM people WHERE id = 10519 LIMIT 1
|
8
|
+
Mar 7 00:00:20 online1 rails[59600]: Rendering layouts/default (200 OK)
|
9
|
+
Mar 7 00:00:20 online1 rails[59600]: Completed in 0.300741 (3 reqs/sec) | Rendering: 0.049924 (16%) | DB: 0.092428 (30%)
|
10
|
+
Mar 7 00:00:25 online2 rails[59628]: -> vsize: 83628032 rssize: 79933440 runtime: 1151489566)
|
11
|
+
Mar 7 00:00:25 online2 rails[59628]: Processing RssController#uber (for 67.18.200.5 at Mon Mar 07 00:00:25 CST 2005)
|
12
|
+
Mar 7 00:00:25 online2 rails[59628]: Parameters: {:id=>"author", :"rss/uber/author.html/uber/author"=>nil, :action=>"uber", :username=>"looch", :controller=>"rss"}
|
13
|
+
Mar 7 00:00:25 online2 rails[59628]: Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
14
|
+
Mar 7 00:00:25 online2 rails[59628]: Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
15
|
+
Mar 7 00:00:25 online2 rails[59628]: Browser Load (0.003963) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
16
|
+
Mar 7 00:00:25 online2 rails[59628]: Person Load (0.002445) SELECT * FROM people WHERE username = 'looch' AND active = '1' LIMIT 1
|
17
|
+
Mar 7 00:00:25 online2 rails[59628]: ProfileImage Load (0.001554) SELECT * FROM profile_images WHERE id = 2782 LIMIT 1
|
18
|
+
Mar 7 00:00:25 online2 rails[59628]: Rendering rss/rss2.0 (200 OK)
|
19
|
+
Mar 7 00:00:25 online1 rails[59628]: Processing RssController#uber (for 67.18.200.5 at Mon Mar 07 00:00:25 CST 2005)
|
20
|
+
Mar 7 00:00:25 online1 rails[59628]: Parameters: {:id=>"author", :"rss/uber/author.html/uber/author"=>nil, :action=>"uber", :username=>"looch", :controller=>"rss"}
|
21
|
+
Mar 7 00:00:25 online1 rails[59628]: Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
22
|
+
Mar 7 00:00:25 online1 rails[59628]: Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
23
|
+
Mar 7 00:00:25 online1 rails[59628]: Browser Load (0.003963) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
24
|
+
Mar 7 00:00:25 online1 rails[59628]: Person Load (0.002445) SELECT * FROM people WHERE username = 'looch' AND active = '1' LIMIT 1
|
25
|
+
Mar 7 00:00:25 online1 rails[59628]: ProfileImage Load (0.001554) SELECT * FROM profile_images WHERE id = 2782 LIMIT 1
|
26
|
+
Mar 7 00:00:25 online1 rails[59628]: Rendering rss/rss2.0 (200 OK)
|
27
|
+
Mar 7 00:00:25 online1 rails[59628]: Completed in 0.034519 (28 reqs/sec) | Rendering: 0.011770 (34%) | DB: 0.007962 (23%)
|
28
|
+
Mar 7 00:00:25 online2 rails[59628]: Completed in 0.034519 (28 reqs/sec) | Rendering: 0.011770 (34%) | DB: 0.007962 (23%)
|
29
|
+
Mar 7 00:00:25 online2 rails[59628]: <- vsize: 83628032 rssize: 79933440 runtime: 1151487080
|
30
|
+
Mar 7 00:00:27 online1 rails[59645]: Processing ThingsController#view (for 67.18.200.5 at Mon Mar 07 00:00:27 CST 2005)
|
31
|
+
Mar 7 00:00:27 online1 rails[59645]: Parameters: {:id=>"11891", :"things/view/11891.html/view/11891"=>nil, :action=>"view", :controller=>"things"}
|
32
|
+
Mar 7 00:00:27 online1 rails[59645]: Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:27 GMT
|
33
|
+
Mar 7 00:00:27 online1 rails[59645]: Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:27 GMT
|
34
|
+
Mar 7 00:00:27 online1 rails[59645]: Browser Load (0.001425) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
35
|
+
Mar 7 00:00:27 online1 rails[59645]: Goal Load (0.001303) SELECT * FROM goals WHERE id = '11891' LIMIT 1
|
36
|
+
Mar 7 00:00:27 online1 rails[59645]: TeamMember Load (0.002593) SELECT * FROM team_members WHERE goal_id = 11891 AND active_member = 1 AND goal_is_complete = 1 AND goal_is_complete = '1' ORDER BY num_entries DESC, updated_date DESC LIMIT 3
|
37
|
+
Mar 7 00:00:27 online1 rails[59645]: TeamMember Load (0.070738) SELECT * FROM team_members WHERE goal_id = 11891 AND active_member = 1 AND goal_is_complete = 0 AND goal_is_complete = '0' ORDER BY num_entries DESC, updated_date DESC LIMIT 10
|
38
|
+
Mar 7 00:00:27 online1 rails[59645]: Entry Load (0.003074) SELECT e.* FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 11891 AND e.active = 1 ORDER BY e.id DESC LIMIT 10
|
39
|
+
Mar 7 00:00:27 online1 rails[59645]: Entry Count (0.000956) SELECT count(*) as num_entries FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 11891 AND e.active = 1 AND e.active = 1
|
40
|
+
Mar 7 00:00:27 online1 rails[59645]: TeamMember Count (0.000993) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 11891
|
41
|
+
Mar 7 00:00:27 online1 rails[59645]: TeamMember Count (0.000878) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 11891
|
42
|
+
Mar 7 00:00:27 online1 rails[59645]: TeamMember Count (0.000878) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 11891
|
43
|
+
Mar 7 00:00:27 online1 rails[59645]: Goal Load (0.002212) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 11891 ORDER BY score DESC LIMIT 3
|
44
|
+
Mar 7 00:00:27 online1 rails[59645]: Tag Load (0.002522) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 11891 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
45
|
+
Mar 7 00:00:27 online1 rails[59645]: Rendering things/view within layouts/default
|
46
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.018285) SELECT * FROM people WHERE id = 2526 LIMIT 1
|
47
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.001736) SELECT * FROM people WHERE id = 6627 LIMIT 1
|
48
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.001611) SELECT * FROM people WHERE id = 11889 LIMIT 1
|
49
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.001879) SELECT * FROM people WHERE id = 12472 LIMIT 1
|
50
|
+
Mar 7 00:00:27 online1 rails[59645]: ProfileImage Load (0.001176) SELECT * FROM profile_images WHERE id = 6024 LIMIT 1
|
51
|
+
Mar 7 00:00:27 online1 rails[59645]: City Load (0.001226) SELECT * FROM cities WHERE id = 43 LIMIT 1
|
52
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.001712) SELECT * FROM people WHERE id = 2576 LIMIT 1
|
53
|
+
Mar 7 00:00:27 online1 rails[59645]: ProfileImage Load (0.001464) SELECT * FROM profile_images WHERE id = 1579 LIMIT 1
|
54
|
+
Mar 7 00:00:27 online1 rails[59645]: City Load (0.001098) SELECT * FROM cities WHERE id = 409 LIMIT 1
|
55
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.001300) SELECT * FROM people WHERE id = 2526 LIMIT 1
|
56
|
+
Mar 7 00:00:27 online1 rails[59645]: ProfileImage Load (0.001536) SELECT * FROM profile_images WHERE id = 1234 LIMIT 1
|
57
|
+
Mar 7 00:00:27 online1 rails[59645]: Person Load (0.001562) SELECT * FROM people WHERE id = 6627 LIMIT 1
|
58
|
+
Mar 7 00:00:27 online1 rails[59645]: Rendering layouts/default (200 OK)
|
59
|
+
Mar 7 00:00:27 online1 rails[59645]: Completed in 0.396183 (2 reqs/sec) | Rendering: 0.107987 (27%) | DB: 0.122158 (30%)
|
60
|
+
Mar 7 00:00:28 online1 rails[59629]: Processing PeopleController#view (for 67.18.200.5 at Mon Mar 07 00:00:28 CST 2005)
|
61
|
+
Mar 7 00:00:28 online1 rails[59629]: Parameters: {:id=>"denstat", :action=>"view", :controller=>"people", :"people/view/denstat.html/view/denstat"=>nil}
|
62
|
+
Mar 7 00:00:28 online1 rails[59629]: Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:28 GMT
|
63
|
+
Mar 7 00:00:28 online1 rails[59629]: Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:28 GMT
|
64
|
+
Mar 7 00:00:28 online1 rails[59629]: Browser Load (0.003869) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
65
|
+
Mar 7 00:00:28 online1 rails[59629]: Person Load (0.088823) SELECT * FROM people WHERE username = 'denstat' AND active = '1' LIMIT 1
|
66
|
+
Mar 7 00:00:28 online1 rails[59629]: ProfileImage Load (0.001174) SELECT * FROM profile_images WHERE id = 2031 LIMIT 1
|
67
|
+
Mar 7 00:00:28 online1 rails[59629]: TeamMember Load (0.004332) SELECT * FROM team_members WHERE person_id = 2693 AND active_member = '1'
|
68
|
+
Mar 7 00:00:28 online1 rails[59629]: Goal Load (0.010591) SELECT g.* FROM goals g, team_members tm WHERE g.id = tm.goal_id AND tm.person_id = 2693 AND tm.active_member <> 0
|
69
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.005076) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = 0 AND active_member != 0 AND tm.person_id = 2693 ORDER BY sort_order, tm.joined_date
|
70
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.003954) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = '1' AND active_member != '0' AND tm.person_id = 2693 ORDER BY tm.updated_date DESC LIMIT 10
|
71
|
+
Mar 7 00:00:28 online1 rails[59629]: Entry Load (0.010843) SELECT e.* FROM entries e, team_members tm, (SELECT team_id, max(id) recent_id FROM entries WHERE active <> 0 AND person_id = 2693 GROUP BY team_id) recent_entries WHERE e.id = recent_entries.recent_id AND tm.person_id = e.person_id AND tm.team_id = e.team_id AND tm.active_member <> 0
|
72
|
+
Mar 7 00:00:28 online1 rails[59629]: Rendering people/view within layouts/default
|
73
|
+
Mar 7 00:00:28 online1 rails[59629]: ProfileImage Load (0.001088) SELECT * FROM profile_images WHERE id = 2031 LIMIT 1
|
74
|
+
Mar 7 00:00:28 online1 rails[59629]: City Load (0.000689) SELECT * FROM cities WHERE id = 1170 LIMIT 1
|
75
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.001622) SELECT * FROM teams WHERE id = 132991 LIMIT 1
|
76
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.001059) SELECT * FROM teams WHERE id = 132980 LIMIT 1
|
77
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.001117) SELECT * FROM teams WHERE id = 129534 LIMIT 1
|
78
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.001104) SELECT * FROM teams WHERE id = 126799 LIMIT 1
|
79
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.015325) SELECT * FROM teams WHERE id = 124130 LIMIT 1
|
80
|
+
Mar 7 00:00:28 online1 rails[59629]: Team Load (0.001067) SELECT * FROM teams WHERE id = 121991 LIMIT 1
|
81
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001169) SELECT * FROM teams WHERE id = 121978 LIMIT 1
|
82
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001264) SELECT * FROM teams WHERE id = 121976 LIMIT 1
|
83
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001131) SELECT * FROM teams WHERE id = 121971 LIMIT 1
|
84
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.000970) SELECT * FROM teams WHERE id = 121967 LIMIT 1
|
85
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001507) SELECT * FROM teams WHERE id = 121868 LIMIT 1
|
86
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.075690) SELECT * FROM teams WHERE id = 69373 LIMIT 1
|
87
|
+
Mar 7 00:00:29 online1 rails[60654]: Processing TeamsController#progress (for 220.255.60.111; 165.21.154.137 at Mon Mar 07 00:00:29 CST 2005)
|
88
|
+
Mar 7 00:00:29 online1 rails[60654]: Parameters: {:id=>"35926", :action=>"progress", :"teams/progress/35926.html/progress/35926"=>nil, :controller=>"teams"}
|
89
|
+
Mar 7 00:00:29 online1 rails[59627]: Processing ThingsController#view (for 67.18.200.5 at Mon Mar 07 00:00:29 CST 2005)
|
90
|
+
Mar 7 00:00:29 online1 rails[59627]: Parameters: {:id=>"19986", :action=>"view", :"things/view/19986.html/view/19986"=>nil, :controller=>"things"}
|
91
|
+
Mar 7 00:00:29 online1 rails[59627]: Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
92
|
+
Mar 7 00:00:29 online1 rails[59627]: Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
93
|
+
Mar 7 00:00:29 online1 rails[60654]: Browser Load (0.204679) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
94
|
+
Mar 7 00:00:29 online1 rails[59627]: Browser Load (0.028144) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
95
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.201582) SELECT * FROM teams WHERE id = 69343 LIMIT 1
|
96
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001294) SELECT * FROM teams WHERE id = 65942 LIMIT 1
|
97
|
+
Mar 7 00:00:29 online1 rails[59627]: Goal Load (0.001371) SELECT * FROM goals WHERE id = '19986' LIMIT 1
|
98
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.013834) SELECT * FROM teams WHERE id = 65932 LIMIT 1
|
99
|
+
Mar 7 00:00:29 online1 rails[59627]: TeamMember Load (0.014705) SELECT * FROM team_members WHERE goal_id = 19986 AND active_member = 1 AND goal_is_complete = 1 AND goal_is_complete = '1' ORDER BY num_entries DESC, updated_date DESC LIMIT 3
|
100
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001222) SELECT * FROM teams WHERE id = 27367 LIMIT 1
|
101
|
+
Mar 7 00:00:29 online1 rails[59627]: TeamMember Load (0.002019) SELECT * FROM team_members WHERE goal_id = 19986 AND active_member = 1 AND goal_is_complete = 0 AND goal_is_complete = '0' ORDER BY num_entries DESC, updated_date DESC LIMIT 10
|
102
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.004668) SELECT * FROM teams WHERE id = 42378 LIMIT 1
|
103
|
+
Mar 7 00:00:29 online1 rails[59627]: Entry Load (0.005880) SELECT e.* FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 19986 AND e.active = 1 ORDER BY e.id DESC LIMIT 10
|
104
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.001271) SELECT * FROM teams WHERE id = 27314 LIMIT 1
|
105
|
+
Mar 7 00:00:29 online1 rails[59627]: Entry Count (0.001063) SELECT count(*) as num_entries FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 19986 AND e.active = 1 AND e.active = 1
|
106
|
+
Mar 7 00:00:29 online1 rails[59629]: Team Load (0.009752) SELECT * FROM teams WHERE id = 27306 LIMIT 1
|
107
|
+
Mar 7 00:00:29 online1 rails[59627]: TeamMember Count (0.015829) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 19986
|
108
|
+
Mar 7 00:00:29 online1 rails[59627]: TeamMember Count (0.000884) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 19986
|
109
|
+
Mar 7 00:00:29 online1 rails[59627]: TeamMember Count (0.000809) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 19986
|
110
|
+
Mar 7 00:00:29 online1 rails[59629]: TeamMember Count (0.001410) SELECT COUNT(*) FROM team_members WHERE active_member = 1 and goal_is_complete = 1 and person_id = 2693
|
111
|
+
Mar 7 00:00:29 online1 rails[59629]: Person Load (0.017762) SELECT p.*, count(*) as num_teams_in_common FROM people p, team_members tms, team_members tmp WHERE tmp.person_id = p.id AND tms.team_id = tmp.team_id AND tms.person_id = 2693 AND tms.active_member <> 0 AND tms.goal_is_complete = 0 AND tmp.person_id <> 2693 AND tmp.active_member <> 0 AND tmp.goal_is_complete = 0 GROUP BY p.id ORDER BY num_teams_in_common DESC, p.last_name
|
112
|
+
Mar 7 00:00:29 online1 rails[59629]: Rendering layouts/default (200 OK)
|
113
|
+
Mar 7 00:00:29 online1 rails[59629]: Completed in 1.102098 (0 reqs/sec) | Rendering: 0.695476 (63%) | DB: 0.486258 (44%)
|
114
|
+
Mar 7 00:00:29 online1 rails[59635]: Processing ThingsController#view (for 67.18.200.5 at Mon Mar 07 00:00:29 CST 2005)
|
115
|
+
Mar 7 00:00:29 online1 rails[59635]: Parameters: {:id=>"9794", :action=>"view", :"things/view/9794.html/view/9794"=>nil, :controller=>"things"}
|
116
|
+
Mar 7 00:00:29 online1 rails[59635]: Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
117
|
+
Mar 7 00:00:29 online1 rails[59635]: Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
118
|
+
Mar 7 00:00:29 online1 rails[59635]: Browser Load (0.001218) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
119
|
+
Mar 7 00:00:29 online1 rails[59635]: Goal Load (0.001052) SELECT * FROM goals WHERE id = '9794' LIMIT 1
|
120
|
+
Mar 7 00:00:29 online1 rails[59627]: Goal Load (0.002577) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 19986 ORDER BY score DESC LIMIT 3
|
121
|
+
Mar 7 00:00:29 online1 rails[60654]: Team Load (0.001341) SELECT * FROM teams WHERE id = '35926' LIMIT 1
|
122
|
+
Mar 7 00:00:29 online1 rails[59627]: Tag Load (0.002195) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 19986 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
123
|
+
Mar 7 00:00:29 online1 rails[59627]: Rendering things/view within layouts/default
|
124
|
+
Mar 7 00:00:29 online1 rails[59627]: Person Load (0.002223) SELECT * FROM people WHERE id = 1694 LIMIT 1
|
125
|
+
Mar 7 00:00:29 online1 rails[59635]: TeamMember Load (0.102165) SELECT * FROM team_members WHERE goal_id = 9794 AND active_member = 1 AND goal_is_complete = 1 AND goal_is_complete = '1' ORDER BY num_entries DESC, updated_date DESC LIMIT 3
|
126
|
+
Mar 7 00:00:29 online1 rails[60654]: Entry Load (0.122496) SELECT * FROM entries WHERE team_id = 35926 AND active = 1
|
127
|
+
Mar 7 00:00:29 online1 rails[59635]: TeamMember Load (0.002217) SELECT * FROM team_members WHERE goal_id = 9794 AND active_member = 1 AND goal_is_complete = 0 AND goal_is_complete = '0' ORDER BY num_entries DESC, updated_date DESC LIMIT 10
|
128
|
+
Mar 7 00:00:29 online1 rails[60654]: TeamMember Load (0.001972) SELECT * FROM team_members WHERE team_id = 35926 AND active_member = 1
|
129
|
+
Mar 7 00:00:29 online1 rails[59635]: Entry Load (0.004002) SELECT e.* FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 9794 AND e.active = 1 ORDER BY e.id DESC LIMIT 10
|
130
|
+
Mar 7 00:00:29 online1 rails[60654]: Person Load (0.004097) SELECT * FROM people WHERE id = 3357 LIMIT 1
|
131
|
+
Mar 7 00:00:29 online1 rails[59635]: Entry Count (0.001231) SELECT count(*) as num_entries FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 9794 AND e.active = 1 AND e.active = 1
|
132
|
+
Mar 7 00:00:29 online1 rails[59635]: TeamMember Count (0.001088) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 9794
|
133
|
+
Mar 7 00:00:29 online1 rails[60654]: Redirected to http://www.43things.com/people/progress/swirlygirl/35926
|
134
|
+
Mar 7 00:00:29 online1 rails[59635]: TeamMember Count (0.001411) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 9794
|
135
|
+
Mar 7 00:00:29 online1 rails[60654]: Goal Load (0.001213) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
136
|
+
Mar 7 00:00:29 online1 rails[59635]: TeamMember Count (0.001344) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 9794
|
137
|
+
Mar 7 00:00:29 online1 rails[59627]: Person Load (0.090841) SELECT * FROM people WHERE id = 4350 LIMIT 1
|
138
|
+
Mar 7 00:00:29 online1 rails[59627]: ProfileImage Load (0.001119) SELECT * FROM profile_images WHERE id = 2322 LIMIT 1
|
139
|
+
Mar 7 00:00:29 online1 rails[59627]: City Load (0.000659) SELECT * FROM cities WHERE id = 819 LIMIT 1
|
140
|
+
Mar 7 00:00:29 online1 rails[59627]: Person Load (0.001279) SELECT * FROM people WHERE id = 1694 LIMIT 1
|
141
|
+
Mar 7 00:00:29 online1 rails[59627]: ProfileImage Load (0.001170) SELECT * FROM profile_images WHERE id = 1945 LIMIT 1
|
142
|
+
Mar 7 00:00:29 online1 rails[59627]: Rendering layouts/default (200 OK)
|
143
|
+
Mar 7 00:00:29 online1 rails[60654]: Goal Load (0.002178) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 225 ORDER BY score DESC LIMIT 3
|
144
|
+
Mar 7 00:00:29 online1 rails[59627]: Completed in 0.491760 (2 reqs/sec) | Rendering: 0.197126 (40%) | DB: 0.172767 (35%)
|
145
|
+
Mar 7 00:00:30 online1 rails[59635]: Goal Load (0.240670) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 9794 ORDER BY score DESC LIMIT 3
|
146
|
+
Mar 7 00:00:30 online1 rails[59635]: Tag Load (0.191137) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 9794 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
147
|
+
Mar 7 00:00:30 online1 rails[59635]: Rendering things/view within layouts/default
|
148
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.004756) SELECT * FROM people WHERE id = 4758 LIMIT 1
|
149
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.007942) SELECT * FROM profile_images WHERE id = 2557 LIMIT 1
|
150
|
+
Mar 7 00:00:30 online1 rails[59635]: Team Load (0.007545) SELECT * FROM teams WHERE id = 56225 LIMIT 1
|
151
|
+
Mar 7 00:00:30 online1 rails[60654]: TeamMember Count (0.558625) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
152
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.003433) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
153
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.007808) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
154
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.008622) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
155
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.007911) SELECT * FROM cities WHERE id = 164 LIMIT 1
|
156
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.008706) SELECT * FROM people WHERE id = 7887 LIMIT 1
|
157
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.007501) SELECT * FROM profile_images WHERE id = 4135 LIMIT 1
|
158
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.018941) SELECT * FROM cities WHERE id = 598 LIMIT 1
|
159
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.007344) SELECT * FROM people WHERE id = 11610 LIMIT 1
|
160
|
+
Mar 7 00:00:30 online1 rails[60654]: TeamMember Count (0.135848) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
161
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.075532) SELECT * FROM people WHERE id = 8694 LIMIT 1
|
162
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.009264) SELECT * FROM profile_images WHERE id = 4519 LIMIT 1
|
163
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.007255) SELECT * FROM cities WHERE id = 808 LIMIT 1
|
164
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.009140) SELECT * FROM people WHERE id = 7413 LIMIT 1
|
165
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.007755) SELECT * FROM profile_images WHERE id = 3908 LIMIT 1
|
166
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.007233) SELECT * FROM cities WHERE id = 732 LIMIT 1
|
167
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.008803) SELECT * FROM people WHERE id = 7412 LIMIT 1
|
168
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.008236) SELECT * FROM profile_images WHERE id = 4743 LIMIT 1
|
169
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.007333) SELECT * FROM cities WHERE id = 156 LIMIT 1
|
170
|
+
Mar 7 00:00:30 online1 rails[60654]: TeamMember Count (0.111128) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
171
|
+
Mar 7 00:00:30 online1 rails[60654]: Completed in 1.469788 (0 reqs/sec) | DB: 1.143577 (77%)
|
172
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.003778) SELECT * FROM people WHERE id = 4765 LIMIT 1
|
173
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.010916) SELECT * FROM profile_images WHERE id = 2571 LIMIT 1
|
174
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.002019) SELECT * FROM people WHERE id = 1452 LIMIT 1
|
175
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.001126) SELECT * FROM profile_images WHERE id = 5516 LIMIT 1
|
176
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.011705) SELECT * FROM cities WHERE id = 1061 LIMIT 1
|
177
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.002113) SELECT * FROM people WHERE id = 895 LIMIT 1
|
178
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.001151) SELECT * FROM profile_images WHERE id = 420 LIMIT 1
|
179
|
+
Mar 7 00:00:30 online1 rails[59635]: City Load (0.000736) SELECT * FROM cities WHERE id = 164 LIMIT 1
|
180
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.001225) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
181
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.001099) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
182
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.016354) SELECT * FROM people WHERE id = 4758 LIMIT 1
|
183
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.078197) SELECT * FROM profile_images WHERE id = 2557 LIMIT 1
|
184
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.001518) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
185
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.001268) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
186
|
+
Mar 7 00:00:30 online1 rails[59635]: Person Load (0.001255) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
187
|
+
Mar 7 00:00:30 online1 rails[59635]: ProfileImage Load (0.001137) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
188
|
+
Mar 7 00:00:30 online1 rails[59635]: Rendering layouts/default (200 OK)
|
189
|
+
Mar 7 00:00:30 online1 rails[59635]: Completed in 1.259728 (0 reqs/sec) | Rendering: 0.505973 (40%) | DB: 0.914192 (72%)
|
190
|
+
Mar 7 00:00:30 online1 rails[59627]: Processing PeopleController#progress (for 220.255.60.111; 165.21.154.158 at Mon Mar 07 00:00:30 CST 2005)
|
191
|
+
Mar 7 00:00:30 online1 rails[59627]: Parameters: {:id=>"swirlygirl", :on=>"35926", :action=>"progress", :"people/progress/swirlygirl/35926.html/progress/swirlygirl/35926"=>nil, :controller=>"people"}
|
192
|
+
Mar 7 00:00:30 online1 rails[59627]: Browser Load (0.000760) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
193
|
+
Mar 7 00:00:30 online1 rails[59627]: Person Load (0.001974) SELECT * FROM people WHERE username = 'swirlygirl' LIMIT 1
|
194
|
+
Mar 7 00:00:30 online1 rails[59627]: Team Load (0.001060) SELECT * FROM teams WHERE id = '35926' LIMIT 1
|
195
|
+
Mar 7 00:00:30 online1 rails[59627]: TeamMember Load (0.001061) SELECT * FROM team_members WHERE team_id = 35926 AND active_member = 1
|
196
|
+
Mar 7 00:00:30 online1 rails[59627]: Entry Load (0.004121) SELECT * FROM entries WHERE team_id = 35926 AND person_id = 3357 AND active = 1 ORDER BY created_date DESC LIMIT 0, 20
|
197
|
+
Mar 7 00:00:30 online1 rails[59627]: Tag Load (0.001446) SELECT t.*, j.* FROM tags_teams j, tags t WHERE t.id = j.tag_id AND j.team_id = 35926 ORDER BY t.id
|
198
|
+
Mar 7 00:00:30 online1 rails[59627]: Goal Load (0.000904) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
199
|
+
Mar 7 00:00:31 online1 rails[60654]: Processing PeopleController#view (for 67.18.200.5 at Mon Mar 07 00:00:31 CST 2005)
|
200
|
+
Mar 7 00:00:31 online1 rails[60654]: Parameters: {:id=>"elizabeth", :action=>"view", :"people/view/elizabeth.html/view/elizabeth"=>nil, :controller=>"people"}
|
201
|
+
Mar 7 00:00:31 online1 rails[60654]: Person Load (0.012043) SELECT * FROM people WHERE id = 2077 LIMIT 1
|
202
|
+
Mar 7 00:00:31 online1 rails[60654]: Person Load (0.005866) SELECT * FROM people WHERE username = 'elizabeth' AND active = '1' LIMIT 1
|
203
|
+
Mar 7 00:00:31 online1 rails[60654]: ProfileImage Load (0.007170) SELECT * FROM profile_images WHERE id = 2153 LIMIT 1
|
204
|
+
Mar 7 00:00:31 online1 rails[60654]: TeamMember Load (0.011367) SELECT * FROM team_members WHERE person_id = 4042 AND active_member = '1'
|
205
|
+
Mar 7 00:00:31 online1 rails[60654]: Goal Load (0.007064) SELECT g.* FROM goals g, team_members tm WHERE g.id = tm.goal_id AND tm.person_id = 4042 AND tm.active_member <> 0
|
206
|
+
Mar 7 00:00:31 online1 rails[60654]: Team Load (0.007723) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = 0 AND active_member != 0 AND tm.person_id = 4042 ORDER BY sort_order, tm.joined_date
|
207
|
+
Mar 7 00:00:31 online1 rails[60654]: Team Load (0.007425) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = '1' AND active_member != '0' AND tm.person_id = 4042 ORDER BY tm.updated_date DESC LIMIT 10
|
208
|
+
Mar 7 00:00:31 online1 rails[59627]: Tag Load (0.162564) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 225 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
209
|
+
Mar 7 00:00:31 online1 rails[60654]: Entry Load (0.005561) SELECT e.* FROM entries e, team_members tm, (SELECT team_id, max(id) recent_id FROM entries WHERE active <> 0 AND person_id = 4042 GROUP BY team_id) recent_entries WHERE e.id = recent_entries.recent_id AND tm.person_id = e.person_id AND tm.team_id = e.team_id AND tm.active_member <> 0
|
210
|
+
Mar 7 00:00:31 online1 rails[60654]: Rendering people/view within layouts/default
|
211
|
+
Mar 7 00:00:31 online1 rails[60654]: FlickrPhoto Load (0.001567) SELECT * FROM flickr_photos WHERE person_id = 4042
|
212
|
+
Mar 7 00:00:31 online1 rails[60654]: ProfileImage Load (0.013853) SELECT * FROM profile_images WHERE id = 2153 LIMIT 1
|
213
|
+
Mar 7 00:00:31 online1 rails[60654]: City Load (0.000694) SELECT * FROM cities WHERE id = 5 LIMIT 1
|
214
|
+
Mar 7 00:00:31 online1 rails[59627]: Goal Load (0.002303) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 225 ORDER BY score DESC LIMIT 3
|
215
|
+
Mar 7 00:00:31 online1 rails[59627]: TeamMember Count (0.000653) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
216
|
+
Mar 7 00:00:31 online1 rails[59627]: TeamMember Count (0.000800) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
217
|
+
Mar 7 00:00:31 online1 rails[59627]: TeamMember Count (0.014575) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
218
|
+
Mar 7 00:00:31 online1 rails[60654]: TeamMember Count (0.006965) SELECT COUNT(*) FROM team_members WHERE active_member = 1 and goal_is_complete = 1 and person_id = 4042
|
219
|
+
Mar 7 00:00:31 online1 rails[59627]: TeamMember Load (0.116729) SELECT * FROM team_members WHERE goal_id = 225 AND active_member = 1 AND goal_is_complete = 1 AND person_id <> '3357' ORDER BY updated_date DESC LIMIT 3
|
220
|
+
Mar 7 00:00:31 online1 rails[59627]: Rendering people/progress within layouts/default
|
221
|
+
Mar 7 00:00:31 online1 rails[59627]: ProfileImage Load (0.021914) SELECT * FROM profile_images WHERE id = 1770 LIMIT 1
|
222
|
+
Mar 7 00:00:31 online1 rails[59627]: Person Load (0.001863) SELECT * FROM people WHERE id = 6731 LIMIT 1
|
223
|
+
Mar 7 00:00:31 online1 rails[60654]: Person Load (0.101821) SELECT p.*, count(*) as num_teams_in_common FROM people p, team_members tms, team_members tmp WHERE tmp.person_id = p.id AND tms.team_id = tmp.team_id AND tms.person_id = 4042 AND tms.active_member <> 0 AND tms.goal_is_complete = 0 AND tmp.person_id <> 4042 AND tmp.active_member <> 0 AND tmp.goal_is_complete = 0 GROUP BY p.id ORDER BY num_teams_in_common DESC, p.last_name
|
224
|
+
Mar 7 00:00:31 online1 rails[60654]: Rendering layouts/default (200 OK)
|
225
|
+
Mar 7 00:00:31 online1 rails[60654]: Completed in 0.360210 (2 reqs/sec) | Rendering: 0.277921 (77%) | DB: 0.189119 (52%)
|
226
|
+
Mar 7 00:00:31 online1 rails[59627]: ProfileImage Load (0.090583) SELECT * FROM profile_images WHERE id = 6434 LIMIT 1
|
227
|
+
Mar 7 00:00:31 online1 rails[59627]: Team Load (0.001336) SELECT * FROM teams WHERE id = 79140 LIMIT 1
|
228
|
+
Mar 7 00:00:31 online1 rails[59627]: Person Load (0.001677) SELECT * FROM people WHERE id = 660 LIMIT 1
|
229
|
+
Mar 7 00:00:31 online1 rails[59627]: ProfileImage Load (0.001106) SELECT * FROM profile_images WHERE id = 370 LIMIT 1
|
230
|
+
Mar 7 00:00:31 online1 rails[59627]: Team Load (0.001231) SELECT * FROM teams WHERE id = 15523 LIMIT 1
|
231
|
+
Mar 7 00:00:31 online1 rails[59627]: Person Load (0.001581) SELECT * FROM people WHERE id = 1900 LIMIT 1
|
232
|
+
Mar 7 00:00:31 online1 rails[59627]: ProfileImage Load (0.001111) SELECT * FROM profile_images WHERE id = 3207 LIMIT 1
|
233
|
+
Mar 7 00:00:31 online1 rails[59627]: Team Load (0.001221) SELECT * FROM teams WHERE id = 37202 LIMIT 1
|
234
|
+
Mar 7 00:00:31 online1 rails[59627]: TeamMember Load (0.379744) SELECT * FROM team_members WHERE goal_id = 225 AND active_member = 1 AND goal_is_complete = 1
|
235
|
+
Mar 7 00:00:31 online1 rails[59627]: Goal Load (0.005007) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
236
|
+
Mar 7 00:00:31 online1 rails[59627]: Cheer Load (0.004291) SELECT * FROM cheers WHERE entity_id = 36073 AND entity_type_id = 4
|
237
|
+
Mar 7 00:00:31 online1 rails[59627]: Person Load (0.008794) SELECT * FROM people WHERE id = 3357 LIMIT 1
|
238
|
+
Mar 7 00:00:31 online1 rails[59627]: Rendering layouts/default (200 OK)
|
239
|
+
Mar 7 00:00:31 online1 rails[59627]: Completed in 0.977398 (1 reqs/sec) | Rendering: 0.604444 (61%) | DB: 0.830409 (84%)
|
240
|
+
Mar 7 00:00:32 online1 rails[59627]: Processing TeamsController#progress (for 220.255.60.111; 165.21.154.137 at Mon Mar 07 00:00:32 CST 2005)
|
241
|
+
Mar 7 00:00:32 online1 rails[59627]: Parameters: {:id=>"35926", :action=>"progress", :"teams/progress/35926.html/progress/35926"=>nil, :controller=>"teams"}
|
242
|
+
Mar 7 00:00:32 online1 rails[59627]: Browser Load (0.001007) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
243
|
+
Mar 7 00:00:32 online1 rails[59627]: Team Load (0.000973) SELECT * FROM teams WHERE id = '35926' LIMIT 1
|
244
|
+
Mar 7 00:00:32 online1 rails[59627]: Entry Load (0.001138) SELECT * FROM entries WHERE team_id = 35926 AND active = 1
|
245
|
+
Mar 7 00:00:32 online1 rails[59627]: TeamMember Load (0.001781) SELECT * FROM team_members WHERE team_id = 35926 AND active_member = 1
|
246
|
+
Mar 7 00:00:32 online1 rails[59627]: Person Load (0.030966) SELECT * FROM people WHERE id = 3357 LIMIT 1
|
247
|
+
Mar 7 00:00:32 online1 rails[59627]: Redirected to http://www.43things.com/people/progress/swirlygirl/35926
|
248
|
+
Mar 7 00:00:32 online1 rails[59627]: Goal Load (0.000835) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
249
|
+
Mar 7 00:00:32 online1 rails[59627]: Goal Load (0.009688) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 225 ORDER BY score DESC LIMIT 3
|
250
|
+
Mar 7 00:00:32 online1 rails[59627]: TeamMember Count (0.007285) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
251
|
+
Mar 7 00:00:32 online1 rails[59627]: TeamMember Count (0.095106) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
252
|
+
Mar 7 00:00:32 online1 rails[59627]: TeamMember Count (0.000578) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
253
|
+
Mar 7 00:00:32 online1 rails[59627]: Completed in 0.211973 (4 reqs/sec) | DB: 0.149357 (70%)
|
254
|
+
Mar 7 00:00:32 online1 rails[59635]: Processing PeopleController#progress (for 220.255.60.111; 165.21.154.158 at Mon Mar 07 00:00:32 CST 2005)
|
255
|
+
Mar 7 00:00:32 online1 rails[59635]: Parameters: {:id=>"swirlygirl", :on=>"35926", :action=>"progress", :"people/progress/swirlygirl/35926.html/progress/swirlygirl/35926"=>nil, :controller=>"people"}
|
256
|
+
Mar 7 00:00:32 online1 rails[59635]: Browser Load (0.000698) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
257
|
+
Mar 7 00:00:32 online1 rails[59635]: Person Load (0.001319) SELECT * FROM people WHERE username = 'swirlygirl' LIMIT 1
|
258
|
+
|