chainsaw 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ module Chainsaw
2
+ class Format
3
+ attr_accessor :type
4
+ attr_accessor :time_format
5
+ attr_accessor :pattern
6
+
7
+ def initialize
8
+ end
9
+
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module Chainsaw
2
+ VERSION = '0.0.4'
3
+ end
data/test/cli_test.rb ADDED
@@ -0,0 +1,19 @@
1
+ require 'test_helper'
2
+
3
+ describe Chainsaw::CLI do
4
+ CLI = Chainsaw::CLI
5
+
6
+ before do
7
+ end
8
+
9
+ it 'parses time as a single time if given without hyphen' do
10
+ time = CLI.parse_time_args(['4:00'])
11
+ time.must_be_kind_of Time
12
+ end
13
+
14
+ it 'parses time as a range if time args delimited by a hyphen' do
15
+ time = CLI.parse_time_args(['4:00', '-', '5:00'])
16
+ time.must_be_kind_of Range
17
+ end
18
+
19
+ end
@@ -0,0 +1,127 @@
1
+ require 'test_helper'
2
+
3
+ describe Chainsaw::Detector do
4
+ Detector = Chainsaw::Detector
5
+
6
+ it 'detects CLF log format' do
7
+ line = get_log_line('clf.log')
8
+ format = Detector.detect(line)
9
+ time = get_time(line, format)
10
+
11
+ format.type.must_equal 'clf'
12
+ time.must_equal Time.local(2012, 8, 26, 7, 42, 20)
13
+ end
14
+
15
+ it 'detects apache error log format' do
16
+ line = get_log_line('apache_error.log')
17
+ format = Detector.detect(line)
18
+ time = get_time(line, format)
19
+
20
+ format.type.must_equal 'apache_error'
21
+
22
+ time.must_equal Time.local(2012, 8, 26, 7, 42, 20)
23
+ end
24
+
25
+ it 'detects nginx error log format' do
26
+ line = get_log_line('nginx_error.log')
27
+ format = Detector.detect(line)
28
+ time = get_time(line, format)
29
+
30
+ format.type.must_equal 'nginx_error'
31
+ time.must_equal Time.local(2012, 8, 29, 7, 48, 59)
32
+ end
33
+
34
+ it 'detects ruby logger log format' do
35
+ line = get_log_line('ruby_logger.log')
36
+ format = Detector.detect(line)
37
+ time = get_time(line, format)
38
+
39
+ format.type.must_equal 'ruby_logger'
40
+ time.must_equal Time.local(2012, 9, 1, 11, 21, 26)
41
+ end
42
+
43
+ it 'detects rails log format' do
44
+ line = get_log_line('rails.log')
45
+ format = Detector.detect(line)
46
+ time = get_time(line, format)
47
+
48
+ format.type.must_equal 'rails'
49
+ time.must_equal Time.local(2012, 9, 1, 9, 34, 35)
50
+ end
51
+
52
+ it 'detects syslog log format' do
53
+ line = get_log_line('syslog.log')
54
+ format = Detector.detect(line)
55
+ time = get_time(line, format)
56
+ year = Time.now.year
57
+
58
+ format.type.must_equal 'syslog'
59
+ time.must_equal Time.local(2012, 8, 1, 17, 36, 55)
60
+ end
61
+
62
+ it 'detects redis log format' do
63
+ line = get_log_line('redis.log')
64
+ format = Detector.detect(line)
65
+ time = get_time(line, format)
66
+
67
+ format.type.must_equal 'redis'
68
+ time.must_equal Time.local(2012, 4, 12, 18, 43, 33)
69
+ end
70
+
71
+ it 'detects puppet log format' do
72
+ line = get_log_line('puppet.log')
73
+ format = Detector.detect(line)
74
+ time = get_time(line, format)
75
+
76
+ format.type.must_equal 'puppet'
77
+ time.must_equal Time.local(2012, 02, 04, 04, 8, 52)
78
+ end
79
+
80
+ it 'detects mongodb log format' do
81
+ line = get_log_line('mongodb.log')
82
+ format = Detector.detect(line)
83
+ time = get_time(line, format)
84
+
85
+ format.type.must_equal 'mongodb'
86
+ time.must_equal Time.local(2012, 8, 26, 7, 43, 54)
87
+ end
88
+
89
+ it 'detects rack log format' do
90
+ line = get_log_line('rack.log')
91
+ format = Detector.detect(line)
92
+ time = get_time(line, format)
93
+
94
+ format.type.must_equal 'rack'
95
+ time.must_equal Time.local(2012, 9, 03, 22, 51, 16)
96
+ end
97
+
98
+ it 'detects python log format' do
99
+ line = get_log_line('python.log')
100
+ format = Detector.detect(line)
101
+ time = get_time(line, format)
102
+
103
+ format.type.must_equal 'python'
104
+ time.must_equal Time.local(2010, 12, 12, 11, 41, 42)
105
+ end
106
+
107
+ it 'detects django log format' do
108
+ line = get_log_line('django.log')
109
+ format = Detector.detect(line)
110
+ time = get_time(line, format)
111
+
112
+ format.type.must_equal 'django'
113
+ time.must_equal Time.local(2012, 9, 03, 21, 49, 47)
114
+ end
115
+
116
+
117
+ def get_time(line, format)
118
+ timestamp = line.match(format.pattern)[1]
119
+ time = Filter.parse_timestamp(timestamp, format.time_format)
120
+ end
121
+
122
+ def get_log_line(logfile)
123
+ logfile = File.expand_path("../logs/#{logfile}", __FILE__)
124
+ File.open(logfile).first
125
+ end
126
+
127
+ end
@@ -0,0 +1,78 @@
1
+ require 'test_helper'
2
+
3
+ describe Chainsaw::Filter do
4
+ Filter = Chainsaw::Filter
5
+ before :each do
6
+ FileUtils.mkdir_p(ENV['HOME'])
7
+ end
8
+
9
+ it 'finds the correct number of lines given an interval' do
10
+ logfile = File.expand_path('../logs/clf.log', __FILE__)
11
+ # stub out an interval of 11 hours from the last log entry
12
+ time = Time.local(2012, 8, 30, 10, 51, 05)
13
+ filter = Filter.new(logfile, time)
14
+
15
+ capture_io { filter.start }
16
+ filter.line_count.must_equal 18
17
+ end
18
+
19
+ it 'handles non-matching lines if occuring between the bounds' do
20
+ logfile = File.expand_path('../logs/rails.log', __FILE__)
21
+ # stub out a 1 hour range
22
+ starting = Time.local(2012, 9, 1, 10, 30, 00)
23
+ ending = Time.local(2012, 9, 1, 11, 30, 00)
24
+ filter = Filter.new(logfile, starting..ending)
25
+
26
+ out, err = capture_io { filter.start }
27
+
28
+ out.must_include "Processing by RegistrationsController#new as HTML"
29
+ out.must_include "Rendered registrations/new.html.erb within layouts/application (5.2ms)"
30
+ out.must_include "Completed 200 OK in 15ms (Views: 14.1ms)"
31
+ filter.line_count.must_equal 13
32
+ end
33
+
34
+ it 'finds the correct number of lines given an interval and an additional text filter' do
35
+ logfile = File.expand_path('../logs/clf.log', __FILE__)
36
+ # stub out an interval of 11 hours from the last log entry
37
+ time = Time.local(2012, 8, 30, 10, 51, 05)
38
+ options = OpenStruct.new(:filter => 'green_bullet')
39
+ filter = Filter.new(logfile, time, options)
40
+
41
+ capture_io { filter.start }
42
+ filter.line_count.must_equal 1
43
+ end
44
+
45
+ it 'colorizes matching lines' do
46
+ logfile = File.expand_path('../logs/clf.log', __FILE__)
47
+ time = Time.local(2012, 8, 30, 10, 51, 05)
48
+ options = OpenStruct.new(:colorize => true)
49
+ filter = Filter.new(logfile, time, options)
50
+
51
+ out, err = capture_io {filter.start}
52
+ line = out.split("\n").first
53
+ line.must_equal %Q{127.0.0.1 - - [\e[32m30/Aug/2012:15:00:28 -0400\e[0m] "HEAD / HTTP/1.1" 200 338 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"}
54
+ end
55
+
56
+ it 'goes interactive' do
57
+ logfile = File.expand_path('../logs/clf.log', __FILE__)
58
+ time = Time.local(2012, 8, 30, 10, 51, 05)
59
+ options = OpenStruct.new(:interactive => true)
60
+ filter = Filter.new(logfile, time, options)
61
+
62
+ STDIN.expects(:gets).times(18).returns('')
63
+ capture_io { filter.start }
64
+ end
65
+
66
+ it 'outputs to a file' do
67
+ logfile = File.expand_path('../logs/clf.log', __FILE__)
68
+ time = Time.local(2012, 8, 30, 10, 51, 05)
69
+ output_file = File.expand_path('../logs/output.log', __FILE__)
70
+ options = OpenStruct.new(:output_file => output_file)
71
+ filter = Filter.new(logfile, time, options)
72
+
73
+ capture_io { filter.start }
74
+ File.exists?(output_file).must_equal true
75
+ File.open(output_file).first.must_equal "127.0.0.1 - - [30/Aug/2012:15:00:28 -0400] \"HEAD / HTTP/1.1\" 200 338 \"-\" \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19\"\n"
76
+ File.delete(output_file)
77
+ end
78
+ end
@@ -0,0 +1,211 @@
1
+ [Sun Aug 26 07:42:20 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
2
+ [Mon Aug 27 14:17:05 2012] [notice] caught SIGTERM, shutting down
3
+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/msql.so' - /usr/lib/php5/20090626/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
4
+ [Mon Aug 27 14:31:06 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
5
+ [Mon Aug 27 14:31:40 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
6
+ [Mon Aug 27 14:32:38 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function the_field() in /var/www/thek5.com/blog/wp-content/themes/thek5/header.php on line 37
7
+ [Mon Aug 27 14:32:38 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
8
+ [Mon Aug 27 14:32:42 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function the_field() in /var/www/thek5.com/blog/wp-content/themes/thek5/header.php on line 37, referer: http://thek5.com/
9
+ [Mon Aug 27 14:32:42 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
10
+ [Mon Aug 27 14:32:45 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function the_field() in /var/www/thek5.com/blog/wp-content/themes/thek5/header.php on line 37, referer: http://thek5.com/
11
+ [Mon Aug 27 14:32:46 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
12
+ [Mon Aug 27 14:32:48 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function the_field() in /var/www/thek5.com/blog/wp-content/themes/thek5/header.php on line 37
13
+ [Mon Aug 27 14:32:48 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
14
+ [Mon Aug 27 14:32:49 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function the_field() in /var/www/thek5.com/blog/wp-content/themes/thek5/header.php on line 37
15
+ [Mon Aug 27 14:32:49 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
16
+ [Mon Aug 27 14:34:31 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function the_field() in /var/www/thek5.com/blog/wp-content/themes/thek5/header.php on line 37
17
+ [Mon Aug 27 14:34:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
18
+ [Mon Aug 27 14:34:36 2012] [error] [client 127.0.0.1] script '/var/www/thek5.com/wp-login.php' not found or unable to stat
19
+ [Mon Aug 27 14:34:36 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
20
+ [Mon Aug 27 14:34:42 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
21
+ [Mon Aug 27 14:34:46 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
22
+ [Mon Aug 27 14:34:47 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
23
+ [Mon Aug 27 14:34:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
24
+ [Mon Aug 27 14:35:18 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
25
+ [Mon Aug 27 14:35:22 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
26
+ [Mon Aug 27 14:35:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
27
+ [Mon Aug 27 14:35:36 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
28
+ [Mon Aug 27 14:35:46 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
29
+ [Mon Aug 27 14:35:47 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
30
+ [Mon Aug 27 14:35:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
31
+ [Mon Aug 27 14:36:01 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
32
+ [Mon Aug 27 14:36:04 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
33
+ [Mon Aug 27 14:36:23 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
34
+ [Mon Aug 27 14:36:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
35
+ [Mon Aug 27 14:36:30 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
36
+ [Mon Aug 27 14:37:06 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
37
+ [Mon Aug 27 14:37:08 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
38
+ [Mon Aug 27 14:37:09 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
39
+ [Mon Aug 27 14:37:16 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
40
+ [Mon Aug 27 14:37:18 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
41
+ [Mon Aug 27 14:37:21 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
42
+ [Mon Aug 27 14:37:22 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
43
+ [Mon Aug 27 14:37:24 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
44
+ [Mon Aug 27 14:37:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
45
+ [Mon Aug 27 14:37:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
46
+ [Mon Aug 27 14:37:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
47
+ [Mon Aug 27 14:37:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
48
+ [Mon Aug 27 14:37:41 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
49
+ [Mon Aug 27 14:37:43 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
50
+ [Mon Aug 27 14:37:45 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
51
+ [Mon Aug 27 14:37:47 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
52
+ [Mon Aug 27 14:37:59 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
53
+ [Mon Aug 27 14:38:05 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
54
+ [Mon Aug 27 14:38:12 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
55
+ [Mon Aug 27 14:38:20 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
56
+ [Mon Aug 27 14:38:23 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
57
+ [Mon Aug 27 14:38:24 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
58
+ [Mon Aug 27 14:38:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
59
+ [Mon Aug 27 14:38:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
60
+ [Mon Aug 27 14:39:34 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
61
+ [Mon Aug 27 14:39:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
62
+ [Mon Aug 27 14:39:44 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
63
+ [Mon Aug 27 15:42:44 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
64
+ [Mon Aug 27 15:42:48 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
65
+ [Mon Aug 27 15:43:34 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
66
+ [Mon Aug 27 15:44:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
67
+ [Mon Aug 27 15:44:04 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
68
+ [Mon Aug 27 15:44:07 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
69
+ [Mon Aug 27 15:44:08 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
70
+ [Mon Aug 27 15:44:11 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
71
+ [Mon Aug 27 15:44:14 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
72
+ [Mon Aug 27 15:44:16 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
73
+ [Mon Aug 27 15:44:18 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
74
+ [Mon Aug 27 15:44:21 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
75
+ [Mon Aug 27 15:44:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
76
+ [Mon Aug 27 15:44:32 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
77
+ [Mon Aug 27 15:44:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
78
+ [Mon Aug 27 15:44:42 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
79
+ [Mon Aug 27 15:44:43 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
80
+ [Mon Aug 27 15:45:55 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
81
+ [Mon Aug 27 15:45:59 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
82
+ [Mon Aug 27 15:50:24 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
83
+ [Mon Aug 27 15:50:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
84
+ [Mon Aug 27 15:50:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
85
+ [Mon Aug 27 15:51:05 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
86
+ [Mon Aug 27 15:51:08 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
87
+ [Mon Aug 27 15:51:09 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
88
+ [Mon Aug 27 15:51:10 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
89
+ [Mon Aug 27 15:52:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
90
+ [Mon Aug 27 15:52:32 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
91
+ [Mon Aug 27 15:52:36 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
92
+ [Mon Aug 27 15:52:38 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
93
+ [Mon Aug 27 15:52:41 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
94
+ [Mon Aug 27 15:52:43 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
95
+ [Mon Aug 27 15:52:48 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
96
+ [Mon Aug 27 15:52:49 2012] [error] [client 127.0.0.1] File does not exist: /var/www/thek5.com/favicon.ico
97
+ [Tue Aug 28 13:38:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
98
+ [Tue Aug 28 18:15:58 2012] [notice] Graceful restart requested, doing restart
99
+ apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
100
+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/msql.so' - /usr/lib/php5/20090626/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
101
+ [Tue Aug 28 18:15:59 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
102
+ [Wed Aug 29 02:02:09 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
103
+ [Wed Aug 29 10:32:40 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
104
+ [Wed Aug 29 10:36:22 2012] [error] [client 127.0.0.1] File does not exist: /var/www/cloud.vaporc.com:8080, referer: http://vaporcreations.com/blog/apache2-241-error-code-list-reference
105
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
106
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
107
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
108
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
109
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
110
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
111
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
112
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
113
+ [Wed Aug 29 17:16:53 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
114
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
115
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
116
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
117
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
118
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
119
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
120
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
121
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
122
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
123
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
124
+ [Wed Aug 29 17:23:28 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
125
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
126
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
127
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
128
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
129
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
130
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
131
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
132
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
133
+ [Wed Aug 29 17:23:33 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
134
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
135
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
136
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
137
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
138
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
139
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
140
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
141
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
142
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
143
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
144
+ [Wed Aug 29 17:23:37 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
145
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
146
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
147
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
148
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
149
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
150
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
151
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
152
+ [Wed Aug 29 17:23:54 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/about/
153
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
154
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
155
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
156
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
157
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
158
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
159
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
160
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
161
+ [Wed Aug 29 18:05:31 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
162
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
163
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
164
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
165
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
166
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
167
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
168
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
169
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
170
+ [Wed Aug 29 18:05:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
171
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
172
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
173
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
174
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
175
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
176
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
177
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
178
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
179
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
180
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
181
+ [Thu Aug 30 01:29:58 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
182
+ [Thu Aug 30 01:29:59 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
183
+ [Thu Aug 30 01:29:59 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
184
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
185
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
186
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
187
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
188
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
189
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
190
+ [Thu Aug 30 01:30:00 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
191
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
192
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
193
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
194
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
195
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
196
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
197
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
198
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
199
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
200
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
201
+ [Thu Aug 30 01:30:02 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/blog/
202
+ [Thu Aug 30 18:05:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
203
+ [Thu Aug 30 18:05:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
204
+ [Thu Aug 30 18:05:26 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
205
+ [Thu Aug 30 18:05:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
206
+ [Thu Aug 30 18:05:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
207
+ [Thu Aug 30 18:05:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
208
+ [Thu Aug 30 18:05:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
209
+ [Thu Aug 30 18:05:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
210
+ [Thu Aug 30 18:05:27 2012] [error] [client 127.0.0.1] File does not exist: /var/www/blog, referer: http://thek5.teaklabs.com/
211
+ [Thu Aug 30 21:50:14 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico