logflume 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +80 -0
- data/Rakefile +11 -0
- data/lib/logflume/exceptions.rb +4 -0
- data/lib/logflume/flume.rb +102 -0
- data/lib/logflume/version.rb +3 -0
- data/lib/logflume.rb +15 -0
- data/spec/data/flume/dpkg.log +400 -0
- data/spec/data/flume/test.log +0 -0
- data/spec/example/worker.rb +17 -0
- data/spec/logflume/logflume_spec.rb +33 -0
- data/spec/spec_helper.rb +30 -0
- metadata +189 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e2712175a531d30a1c0b7a85603f67724a5de1db
|
4
|
+
data.tar.gz: d097ca66ed08d0575bafe595ab907cebaba586d0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 366c26eb297e191fc224037c5e770c5593851da81ed16ac48406e76ec44dc228059160ce31628d75f5855534a938290e1428850ba97563d2297d422bdfb85162
|
7
|
+
data.tar.gz: c2c1dcd37335078628716a2e9002919d768c24a337c6532f738ab02190ac18694e53339b792a65883c1810d9df54b063f58c829b1bf4977814138f8f0d921e39
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 shadowbq
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
data/README.md
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# logflume
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/logflume.png)](http://badge.fury.io/rb/logflume)
|
4
|
+
[![Gem](https://img.shields.io/gem/dt/logflume.svg)](http://badge.fury.io/rb/logflume)
|
5
|
+
|
6
|
+
A library to continually dump the contents of new logfiles into a POSIX FIFO pipe
|
7
|
+
|
8
|
+
## Build Status
|
9
|
+
|
10
|
+
[![Build Status](https://travis-ci.org/shadowbq/logflume.svg)](https://travis-ci.org/shadowbq/logflume)
|
11
|
+
[![Code Climate](https://codeclimate.com/github/shadowbq/logflume/badges/gpa.svg)](https://codeclimate.com/github/shadowbq/logflume)
|
12
|
+
[![Test Coverage](https://codeclimate.com/github/shadowbq/logflume/badges/coverage.svg)](https://codeclimate.com/github/shadowbq/logflume)
|
13
|
+
[![GitHub tag](https://img.shields.io/github/tag/shadowbq/logflume.svg)](http://github.com/shadowbq/logflume)
|
14
|
+
|
15
|
+
## FEATURES/PROBLEMS:
|
16
|
+
|
17
|
+
A library to continually dump the contents of new logfiles into a POSIX FIFO pipe. This function can mimic what syslog-ng does with FIFO exports. This library is generally dependant on POSIX pipes, so it will not act kindly in Windows ENV.
|
18
|
+
|
19
|
+
|
20
|
+
## INSTALL:
|
21
|
+
|
22
|
+
* sudo gem install logflume
|
23
|
+
|
24
|
+
## EXAMPLE IMPLEMENTATION:
|
25
|
+
|
26
|
+
This is a single blocking logflume. We can call this `worker.rb`.
|
27
|
+
|
28
|
+
You need three posix shells for this to properly work
|
29
|
+
|
30
|
+
* Ruby execution shell for `worker.rb`
|
31
|
+
* A process to `cat '/tmp/logflume.conveyor.fifo'`
|
32
|
+
* A shell/process to send SIG controls (INT,QUIT,TERM)
|
33
|
+
|
34
|
+
### `worker.rb` Source
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
#!/usr/bin/env ruby
|
38
|
+
require "rubygems"
|
39
|
+
$:.unshift File.join(File.dirname(__FILE__), *%w[. lib])
|
40
|
+
|
41
|
+
require "logflume"
|
42
|
+
|
43
|
+
|
44
|
+
flume = Logflume::Flume.new
|
45
|
+
flume.dir=File.expand_path(File.join(File.dirname(__FILE__), './spec/data/flume'))
|
46
|
+
flume.glob='*.log'
|
47
|
+
flume.blocking=true
|
48
|
+
flume.pipe='/tmp/logflume.conveyor.fifo'
|
49
|
+
flume.logger = Logger.new(STDOUT)
|
50
|
+
flume.logger.level = Logger::INFO
|
51
|
+
flume.start
|
52
|
+
|
53
|
+
gets
|
54
|
+
```
|
55
|
+
|
56
|
+
### Example `worker.rb` Output
|
57
|
+
|
58
|
+
```shell
|
59
|
+
$ ruby worker.rb
|
60
|
+
I, [2015-02-09T00:31:22.389096 #20712] INFO -- : new File found => /home/shadowbq/sandbox/github-shadowbq/logflume/spec/data/flume/dpkg.log
|
61
|
+
I, [2015-02-09T00:31:22.395498 #20712] INFO -- : new File found => /home/shadowbq/sandbox/github-shadowbq/logflume/spec/data/flume/test.log
|
62
|
+
(.. RCVR SIGQUIT see below ..)
|
63
|
+
Terminating...
|
64
|
+
```
|
65
|
+
|
66
|
+
### Control Signal Hooks
|
67
|
+
|
68
|
+
```shell
|
69
|
+
$ kill -l
|
70
|
+
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP [..]
|
71
|
+
|
72
|
+
$ ps aux |grep ruby
|
73
|
+
shadowbq 20712 0.4 0.0 262508 14836 pts/0 Sl+ 00:30 0:04 ruby worker.rb
|
74
|
+
|
75
|
+
$ kill -3 20712
|
76
|
+
```
|
77
|
+
|
78
|
+
## LICENSE:
|
79
|
+
|
80
|
+
(The MIT License)
|
data/Rakefile
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
module Logflume
|
2
|
+
class Flume
|
3
|
+
attr_accessor :dir, :glob, :logger, :pipe, :pre_load, :interval, :blocking
|
4
|
+
|
5
|
+
def initialize(opts = {})
|
6
|
+
@dir = opts[:dir] || './flume/'
|
7
|
+
@glob = opts[:glob] || '*.log'
|
8
|
+
@logger = opts[:logger] || Logger.new(STDOUT)
|
9
|
+
@interval = opts[:interval] || 5.0
|
10
|
+
@pre_load = opts[:pre_load] || false
|
11
|
+
@blocking = opts[:blocking] || false
|
12
|
+
@pipe = opts[:pipe] || "/tmp/logflume.pipe.#{$$}"
|
13
|
+
@configured = false
|
14
|
+
end
|
15
|
+
|
16
|
+
def configured?
|
17
|
+
@configured
|
18
|
+
end
|
19
|
+
|
20
|
+
def load
|
21
|
+
raise InvalidDirectory unless directory_exists?(@dir)
|
22
|
+
@dw = DirectoryWatcher.new(@dir, :glob => @glob, :logger => @logger, :interval => @interval, :pre_load => @pre_load)
|
23
|
+
@configured = true unless @dw.nil?
|
24
|
+
route_pipe
|
25
|
+
end
|
26
|
+
|
27
|
+
def start
|
28
|
+
load unless configured?
|
29
|
+
register_signal_hooks
|
30
|
+
@dw.start
|
31
|
+
end
|
32
|
+
|
33
|
+
def running?
|
34
|
+
@dw.running?
|
35
|
+
end
|
36
|
+
|
37
|
+
def stop
|
38
|
+
@dw.stop
|
39
|
+
end
|
40
|
+
|
41
|
+
def shutdown
|
42
|
+
@dw.stop ? @dw.running? : false
|
43
|
+
@dw = nil
|
44
|
+
@configure = false
|
45
|
+
destroy_pipe
|
46
|
+
true
|
47
|
+
end
|
48
|
+
|
49
|
+
private
|
50
|
+
|
51
|
+
def register_signal_hooks
|
52
|
+
[:INT, :QUIT, :TERM].each do |signal|
|
53
|
+
::Signal.trap(signal) do
|
54
|
+
puts "Terminating..."
|
55
|
+
self.shutdown
|
56
|
+
exit
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def route_pipe
|
62
|
+
raise FlumeNotLoaded unless configured?
|
63
|
+
create_pipe
|
64
|
+
hookup_pipe
|
65
|
+
end
|
66
|
+
|
67
|
+
def create_pipe
|
68
|
+
if @blocking
|
69
|
+
@pipe_handler = Fifo.new(@pipe, :w, :wait)
|
70
|
+
else
|
71
|
+
@pipe_handler = Fifo.new(@pipe)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
def hookup_pipe
|
76
|
+
@dw.add_observer do |*args|
|
77
|
+
args.each do |event|
|
78
|
+
|
79
|
+
if event.type == :added
|
80
|
+
#root = File.dirname(__FILE__)
|
81
|
+
#infile = File.join(root, event.path)
|
82
|
+
#@logger.info "new File found => #{infile}"
|
83
|
+
@logger.info "new File found => #{event.path}"
|
84
|
+
File.open(event.path).each_line do |line|
|
85
|
+
@pipe_handler.puts line
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
def directory_exists?(directory)
|
94
|
+
File.directory?(directory)
|
95
|
+
end
|
96
|
+
|
97
|
+
def destroy_pipe
|
98
|
+
FileUtils.rm @pipe, :force => true
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
102
|
+
end
|
data/lib/logflume.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'logger'
|
3
|
+
require 'fileutils'
|
4
|
+
|
5
|
+
# Gem stack
|
6
|
+
require 'directory_watcher'
|
7
|
+
require 'fifo'
|
8
|
+
|
9
|
+
module Logflume
|
10
|
+
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
11
|
+
|
12
|
+
#require library
|
13
|
+
require 'logflume/flume'
|
14
|
+
require 'logflume/exceptions'
|
15
|
+
end
|
@@ -0,0 +1,400 @@
|
|
1
|
+
2015-02-04 13:17:16 startup archives unpack
|
2
|
+
2015-02-04 13:17:16 install libjpeg-turbo-progs:amd64 <none> 1.3.0-0ubuntu2
|
3
|
+
2015-02-04 13:17:16 status half-installed libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2
|
4
|
+
2015-02-04 13:17:17 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
5
|
+
2015-02-04 13:17:17 status unpacked libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2
|
6
|
+
2015-02-04 13:17:17 status unpacked libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2
|
7
|
+
2015-02-04 13:17:17 install libjpeg-progs:amd64 <none> 8c-2ubuntu8
|
8
|
+
2015-02-04 13:17:17 status half-installed libjpeg-progs:amd64 8c-2ubuntu8
|
9
|
+
2015-02-04 13:17:17 status unpacked libjpeg-progs:amd64 8c-2ubuntu8
|
10
|
+
2015-02-04 13:17:17 status unpacked libjpeg-progs:amd64 8c-2ubuntu8
|
11
|
+
2015-02-04 13:17:17 install jhead:amd64 <none> 1:2.97-1
|
12
|
+
2015-02-04 13:17:17 status half-installed jhead:amd64 1:2.97-1
|
13
|
+
2015-02-04 13:17:17 status unpacked jhead:amd64 1:2.97-1
|
14
|
+
2015-02-04 13:17:17 status unpacked jhead:amd64 1:2.97-1
|
15
|
+
2015-02-04 13:17:17 install libimage-exiftool-perl:all <none> 9.46-1
|
16
|
+
2015-02-04 13:17:17 status half-installed libimage-exiftool-perl:all 9.46-1
|
17
|
+
2015-02-04 13:17:17 status unpacked libimage-exiftool-perl:all 9.46-1
|
18
|
+
2015-02-04 13:17:17 status unpacked libimage-exiftool-perl:all 9.46-1
|
19
|
+
2015-02-04 13:17:17 install libimage-base-bundle-perl:all <none> 1.0.7-3
|
20
|
+
2015-02-04 13:17:17 status half-installed libimage-base-bundle-perl:all 1.0.7-3
|
21
|
+
2015-02-04 13:17:18 status unpacked libimage-base-bundle-perl:all 1.0.7-3
|
22
|
+
2015-02-04 13:17:18 status unpacked libimage-base-bundle-perl:all 1.0.7-3
|
23
|
+
2015-02-04 13:17:18 install libxml-namespacesupport-perl:all <none> 1.11-1
|
24
|
+
2015-02-04 13:17:18 status half-installed libxml-namespacesupport-perl:all 1.11-1
|
25
|
+
2015-02-04 13:17:18 status unpacked libxml-namespacesupport-perl:all 1.11-1
|
26
|
+
2015-02-04 13:17:18 status unpacked libxml-namespacesupport-perl:all 1.11-1
|
27
|
+
2015-02-04 13:17:18 install libxml-sax-base-perl:all <none> 1.07-1
|
28
|
+
2015-02-04 13:17:18 status half-installed libxml-sax-base-perl:all 1.07-1
|
29
|
+
2015-02-04 13:17:18 status unpacked libxml-sax-base-perl:all 1.07-1
|
30
|
+
2015-02-04 13:17:18 status unpacked libxml-sax-base-perl:all 1.07-1
|
31
|
+
2015-02-04 13:17:18 install libxml-sax-perl:all <none> 0.99+dfsg-2ubuntu1
|
32
|
+
2015-02-04 13:17:18 status half-installed libxml-sax-perl:all 0.99+dfsg-2ubuntu1
|
33
|
+
2015-02-04 13:17:18 status unpacked libxml-sax-perl:all 0.99+dfsg-2ubuntu1
|
34
|
+
2015-02-04 13:17:18 status unpacked libxml-sax-perl:all 0.99+dfsg-2ubuntu1
|
35
|
+
2015-02-04 13:17:18 install libxml-sax-expat-perl:all <none> 0.40-2
|
36
|
+
2015-02-04 13:17:18 status half-installed libxml-sax-expat-perl:all 0.40-2
|
37
|
+
2015-02-04 13:17:18 status unpacked libxml-sax-expat-perl:all 0.40-2
|
38
|
+
2015-02-04 13:17:18 status unpacked libxml-sax-expat-perl:all 0.40-2
|
39
|
+
2015-02-04 13:17:18 install libxml-simple-perl:all <none> 2.20-1
|
40
|
+
2015-02-04 13:17:18 status half-installed libxml-simple-perl:all 2.20-1
|
41
|
+
2015-02-04 13:17:18 status unpacked libxml-simple-perl:all 2.20-1
|
42
|
+
2015-02-04 13:17:18 status unpacked libxml-simple-perl:all 2.20-1
|
43
|
+
2015-02-04 13:17:18 install libimage-info-perl:all <none> 1.28-1
|
44
|
+
2015-02-04 13:17:18 status half-installed libimage-info-perl:all 1.28-1
|
45
|
+
2015-02-04 13:17:18 status unpacked libimage-info-perl:all 1.28-1
|
46
|
+
2015-02-04 13:17:18 status unpacked libimage-info-perl:all 1.28-1
|
47
|
+
2015-02-04 13:17:18 install libimage-metadata-jpeg-perl:all <none> 0.153-1
|
48
|
+
2015-02-04 13:17:18 status half-installed libimage-metadata-jpeg-perl:all 0.153-1
|
49
|
+
2015-02-04 13:17:19 status unpacked libimage-metadata-jpeg-perl:all 0.153-1
|
50
|
+
2015-02-04 13:17:19 status unpacked libimage-metadata-jpeg-perl:all 0.153-1
|
51
|
+
2015-02-04 13:17:19 install perl-tk:amd64 <none> 1:804.031-1build1
|
52
|
+
2015-02-04 13:17:19 status half-installed perl-tk:amd64 1:804.031-1build1
|
53
|
+
2015-02-04 13:17:19 status unpacked perl-tk:amd64 1:804.031-1build1
|
54
|
+
2015-02-04 13:17:19 status unpacked perl-tk:amd64 1:804.031-1build1
|
55
|
+
2015-02-04 13:17:19 install mapivi:all <none> 0.9.7-1.1
|
56
|
+
2015-02-04 13:17:19 status half-installed mapivi:all 0.9.7-1.1
|
57
|
+
2015-02-04 13:17:19 status unpacked mapivi:all 0.9.7-1.1
|
58
|
+
2015-02-04 13:17:19 status unpacked mapivi:all 0.9.7-1.1
|
59
|
+
2015-02-04 13:17:19 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
60
|
+
2015-02-04 13:17:19 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
61
|
+
2015-02-04 13:17:22 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
62
|
+
2015-02-04 13:17:22 startup packages configure
|
63
|
+
2015-02-04 13:17:22 configure libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2 <none>
|
64
|
+
2015-02-04 13:17:22 status unpacked libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2
|
65
|
+
2015-02-04 13:17:22 status half-configured libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2
|
66
|
+
2015-02-04 13:17:22 status installed libjpeg-turbo-progs:amd64 1.3.0-0ubuntu2
|
67
|
+
2015-02-04 13:17:22 configure libjpeg-progs:amd64 8c-2ubuntu8 <none>
|
68
|
+
2015-02-04 13:17:22 status unpacked libjpeg-progs:amd64 8c-2ubuntu8
|
69
|
+
2015-02-04 13:17:22 status half-configured libjpeg-progs:amd64 8c-2ubuntu8
|
70
|
+
2015-02-04 13:17:22 status installed libjpeg-progs:amd64 8c-2ubuntu8
|
71
|
+
2015-02-04 13:17:22 configure jhead:amd64 1:2.97-1 <none>
|
72
|
+
2015-02-04 13:17:22 status unpacked jhead:amd64 1:2.97-1
|
73
|
+
2015-02-04 13:17:22 status half-configured jhead:amd64 1:2.97-1
|
74
|
+
2015-02-04 13:17:22 status installed jhead:amd64 1:2.97-1
|
75
|
+
2015-02-04 13:17:22 configure libimage-exiftool-perl:all 9.46-1 <none>
|
76
|
+
2015-02-04 13:17:22 status unpacked libimage-exiftool-perl:all 9.46-1
|
77
|
+
2015-02-04 13:17:22 status half-configured libimage-exiftool-perl:all 9.46-1
|
78
|
+
2015-02-04 13:17:22 status installed libimage-exiftool-perl:all 9.46-1
|
79
|
+
2015-02-04 13:17:22 configure libimage-base-bundle-perl:all 1.0.7-3 <none>
|
80
|
+
2015-02-04 13:17:22 status unpacked libimage-base-bundle-perl:all 1.0.7-3
|
81
|
+
2015-02-04 13:17:22 status half-configured libimage-base-bundle-perl:all 1.0.7-3
|
82
|
+
2015-02-04 13:17:22 status installed libimage-base-bundle-perl:all 1.0.7-3
|
83
|
+
2015-02-04 13:17:22 configure libxml-namespacesupport-perl:all 1.11-1 <none>
|
84
|
+
2015-02-04 13:17:22 status unpacked libxml-namespacesupport-perl:all 1.11-1
|
85
|
+
2015-02-04 13:17:22 status half-configured libxml-namespacesupport-perl:all 1.11-1
|
86
|
+
2015-02-04 13:17:22 status installed libxml-namespacesupport-perl:all 1.11-1
|
87
|
+
2015-02-04 13:17:22 configure libxml-sax-base-perl:all 1.07-1 <none>
|
88
|
+
2015-02-04 13:17:22 status unpacked libxml-sax-base-perl:all 1.07-1
|
89
|
+
2015-02-04 13:17:22 status half-configured libxml-sax-base-perl:all 1.07-1
|
90
|
+
2015-02-04 13:17:22 status installed libxml-sax-base-perl:all 1.07-1
|
91
|
+
2015-02-04 13:17:22 configure libxml-sax-perl:all 0.99+dfsg-2ubuntu1 <none>
|
92
|
+
2015-02-04 13:17:22 status unpacked libxml-sax-perl:all 0.99+dfsg-2ubuntu1
|
93
|
+
2015-02-04 13:17:22 status half-configured libxml-sax-perl:all 0.99+dfsg-2ubuntu1
|
94
|
+
2015-02-04 13:17:23 status installed libxml-sax-perl:all 0.99+dfsg-2ubuntu1
|
95
|
+
2015-02-04 13:17:23 configure libxml-sax-expat-perl:all 0.40-2 <none>
|
96
|
+
2015-02-04 13:17:23 status unpacked libxml-sax-expat-perl:all 0.40-2
|
97
|
+
2015-02-04 13:17:23 status half-configured libxml-sax-expat-perl:all 0.40-2
|
98
|
+
2015-02-04 13:17:23 status installed libxml-sax-expat-perl:all 0.40-2
|
99
|
+
2015-02-04 13:17:23 configure libxml-simple-perl:all 2.20-1 <none>
|
100
|
+
2015-02-04 13:17:23 status unpacked libxml-simple-perl:all 2.20-1
|
101
|
+
2015-02-04 13:17:23 status half-configured libxml-simple-perl:all 2.20-1
|
102
|
+
2015-02-04 13:17:23 status installed libxml-simple-perl:all 2.20-1
|
103
|
+
2015-02-04 13:17:23 configure libimage-info-perl:all 1.28-1 <none>
|
104
|
+
2015-02-04 13:17:23 status unpacked libimage-info-perl:all 1.28-1
|
105
|
+
2015-02-04 13:17:23 status half-configured libimage-info-perl:all 1.28-1
|
106
|
+
2015-02-04 13:17:23 status installed libimage-info-perl:all 1.28-1
|
107
|
+
2015-02-04 13:17:23 configure libimage-metadata-jpeg-perl:all 0.153-1 <none>
|
108
|
+
2015-02-04 13:17:23 status unpacked libimage-metadata-jpeg-perl:all 0.153-1
|
109
|
+
2015-02-04 13:17:23 status half-configured libimage-metadata-jpeg-perl:all 0.153-1
|
110
|
+
2015-02-04 13:17:23 status installed libimage-metadata-jpeg-perl:all 0.153-1
|
111
|
+
2015-02-04 13:17:23 configure perl-tk:amd64 1:804.031-1build1 <none>
|
112
|
+
2015-02-04 13:17:23 status unpacked perl-tk:amd64 1:804.031-1build1
|
113
|
+
2015-02-04 13:17:23 status half-configured perl-tk:amd64 1:804.031-1build1
|
114
|
+
2015-02-04 13:17:23 status installed perl-tk:amd64 1:804.031-1build1
|
115
|
+
2015-02-04 13:17:23 configure mapivi:all 0.9.7-1.1 <none>
|
116
|
+
2015-02-04 13:17:23 status unpacked mapivi:all 0.9.7-1.1
|
117
|
+
2015-02-04 13:17:23 status half-configured mapivi:all 0.9.7-1.1
|
118
|
+
2015-02-04 13:17:23 status installed mapivi:all 0.9.7-1.1
|
119
|
+
2015-02-04 13:36:50 startup archives unpack
|
120
|
+
2015-02-04 13:36:50 install curlftpfs:amd64 <none> 0.9.2-5ubuntu1
|
121
|
+
2015-02-04 13:36:50 status half-installed curlftpfs:amd64 0.9.2-5ubuntu1
|
122
|
+
2015-02-04 13:36:50 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
123
|
+
2015-02-04 13:36:50 status unpacked curlftpfs:amd64 0.9.2-5ubuntu1
|
124
|
+
2015-02-04 13:36:50 status unpacked curlftpfs:amd64 0.9.2-5ubuntu1
|
125
|
+
2015-02-04 13:36:50 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
126
|
+
2015-02-04 13:36:50 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
127
|
+
2015-02-04 13:36:51 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
128
|
+
2015-02-04 13:36:51 startup packages configure
|
129
|
+
2015-02-04 13:36:51 configure curlftpfs:amd64 0.9.2-5ubuntu1 <none>
|
130
|
+
2015-02-04 13:36:51 status unpacked curlftpfs:amd64 0.9.2-5ubuntu1
|
131
|
+
2015-02-04 13:36:51 status half-configured curlftpfs:amd64 0.9.2-5ubuntu1
|
132
|
+
2015-02-04 13:36:51 status installed curlftpfs:amd64 0.9.2-5ubuntu1
|
133
|
+
2015-02-04 13:52:47 startup packages remove
|
134
|
+
2015-02-04 13:52:47 status installed curlftpfs:amd64 0.9.2-5ubuntu1
|
135
|
+
2015-02-04 13:52:48 remove curlftpfs:amd64 0.9.2-5ubuntu1 <none>
|
136
|
+
2015-02-04 13:52:48 status half-configured curlftpfs:amd64 0.9.2-5ubuntu1
|
137
|
+
2015-02-04 13:52:48 status half-installed curlftpfs:amd64 0.9.2-5ubuntu1
|
138
|
+
2015-02-04 13:52:48 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
139
|
+
2015-02-04 13:52:48 status config-files curlftpfs:amd64 0.9.2-5ubuntu1
|
140
|
+
2015-02-04 13:52:48 status config-files curlftpfs:amd64 0.9.2-5ubuntu1
|
141
|
+
2015-02-04 13:52:48 status config-files curlftpfs:amd64 0.9.2-5ubuntu1
|
142
|
+
2015-02-04 13:52:48 status not-installed curlftpfs:amd64 <none>
|
143
|
+
2015-02-04 13:52:48 trigproc man-db:amd64 2.6.7.1-1ubuntu1 <none>
|
144
|
+
2015-02-04 13:52:48 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
145
|
+
2015-02-04 13:52:48 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
146
|
+
2015-02-04 14:00:44 startup archives unpack
|
147
|
+
2015-02-04 14:00:44 install libsepol1-dev:amd64 <none> 2.2-1ubuntu0.1
|
148
|
+
2015-02-04 14:00:44 status half-installed libsepol1-dev:amd64 2.2-1ubuntu0.1
|
149
|
+
2015-02-04 14:00:44 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
150
|
+
2015-02-04 14:00:44 status unpacked libsepol1-dev:amd64 2.2-1ubuntu0.1
|
151
|
+
2015-02-04 14:00:44 status unpacked libsepol1-dev:amd64 2.2-1ubuntu0.1
|
152
|
+
2015-02-04 14:00:44 install libselinux1-dev:amd64 <none> 2.2.2-1ubuntu0.1
|
153
|
+
2015-02-04 14:00:44 status half-installed libselinux1-dev:amd64 2.2.2-1ubuntu0.1
|
154
|
+
2015-02-04 14:00:44 status unpacked libselinux1-dev:amd64 2.2.2-1ubuntu0.1
|
155
|
+
2015-02-04 14:00:44 status unpacked libselinux1-dev:amd64 2.2.2-1ubuntu0.1
|
156
|
+
2015-02-04 14:00:44 install libfuse-dev:amd64 <none> 2.9.2-4ubuntu4
|
157
|
+
2015-02-04 14:00:44 status half-installed libfuse-dev:amd64 2.9.2-4ubuntu4
|
158
|
+
2015-02-04 14:00:44 status unpacked libfuse-dev:amd64 2.9.2-4ubuntu4
|
159
|
+
2015-02-04 14:00:44 status unpacked libfuse-dev:amd64 2.9.2-4ubuntu4
|
160
|
+
2015-02-04 14:00:44 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
161
|
+
2015-02-04 14:00:44 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
162
|
+
2015-02-04 14:00:45 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
163
|
+
2015-02-04 14:00:46 startup packages configure
|
164
|
+
2015-02-04 14:00:46 configure libsepol1-dev:amd64 2.2-1ubuntu0.1 <none>
|
165
|
+
2015-02-04 14:00:46 status unpacked libsepol1-dev:amd64 2.2-1ubuntu0.1
|
166
|
+
2015-02-04 14:00:46 status half-configured libsepol1-dev:amd64 2.2-1ubuntu0.1
|
167
|
+
2015-02-04 14:00:46 status installed libsepol1-dev:amd64 2.2-1ubuntu0.1
|
168
|
+
2015-02-04 14:00:46 configure libselinux1-dev:amd64 2.2.2-1ubuntu0.1 <none>
|
169
|
+
2015-02-04 14:00:46 status unpacked libselinux1-dev:amd64 2.2.2-1ubuntu0.1
|
170
|
+
2015-02-04 14:00:46 status half-configured libselinux1-dev:amd64 2.2.2-1ubuntu0.1
|
171
|
+
2015-02-04 14:00:46 status installed libselinux1-dev:amd64 2.2.2-1ubuntu0.1
|
172
|
+
2015-02-04 14:00:46 configure libfuse-dev:amd64 2.9.2-4ubuntu4 <none>
|
173
|
+
2015-02-04 14:00:46 status unpacked libfuse-dev:amd64 2.9.2-4ubuntu4
|
174
|
+
2015-02-04 14:00:46 status half-configured libfuse-dev:amd64 2.9.2-4ubuntu4
|
175
|
+
2015-02-04 14:00:46 status installed libfuse-dev:amd64 2.9.2-4ubuntu4
|
176
|
+
2015-02-04 14:17:17 startup archives unpack
|
177
|
+
2015-02-04 14:17:17 upgrade google-chrome-stable:amd64 40.0.2214.94-1 40.0.2214.95-1
|
178
|
+
2015-02-04 14:17:17 status half-configured google-chrome-stable:amd64 40.0.2214.94-1
|
179
|
+
2015-02-04 14:17:17 status unpacked google-chrome-stable:amd64 40.0.2214.94-1
|
180
|
+
2015-02-04 14:17:17 status half-installed google-chrome-stable:amd64 40.0.2214.94-1
|
181
|
+
2015-02-04 14:17:17 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
182
|
+
2015-02-04 14:17:17 status triggers-pending mime-support:all 3.54ubuntu1.1
|
183
|
+
2015-02-04 14:17:17 status triggers-pending gnome-menus:amd64 3.10.1-0ubuntu2
|
184
|
+
2015-02-04 14:17:17 status triggers-pending desktop-file-utils:amd64 0.22-1ubuntu1
|
185
|
+
2015-02-04 14:17:17 status half-installed google-chrome-stable:amd64 40.0.2214.94-1
|
186
|
+
2015-02-04 14:17:24 status half-installed google-chrome-stable:amd64 40.0.2214.94-1
|
187
|
+
2015-02-04 14:17:24 status unpacked google-chrome-stable:amd64 40.0.2214.95-1
|
188
|
+
2015-02-04 14:17:24 status unpacked google-chrome-stable:amd64 40.0.2214.95-1
|
189
|
+
2015-02-04 14:17:24 install linux-image-3.13.0-45-generic:amd64 <none> 3.13.0-45.74
|
190
|
+
2015-02-04 14:17:24 status half-installed linux-image-3.13.0-45-generic:amd64 3.13.0-45.74
|
191
|
+
2015-02-04 14:17:28 status unpacked linux-image-3.13.0-45-generic:amd64 3.13.0-45.74
|
192
|
+
2015-02-04 14:17:28 status unpacked linux-image-3.13.0-45-generic:amd64 3.13.0-45.74
|
193
|
+
2015-02-04 14:17:28 upgrade tzdata-java:all 2014i-0ubuntu0.14.04 2015a-0ubuntu0.14.04
|
194
|
+
2015-02-04 14:17:28 status half-configured tzdata-java:all 2014i-0ubuntu0.14.04
|
195
|
+
2015-02-04 14:17:28 status unpacked tzdata-java:all 2014i-0ubuntu0.14.04
|
196
|
+
2015-02-04 14:17:28 status half-installed tzdata-java:all 2014i-0ubuntu0.14.04
|
197
|
+
2015-02-04 14:17:28 status half-installed tzdata-java:all 2014i-0ubuntu0.14.04
|
198
|
+
2015-02-04 14:17:29 status unpacked tzdata-java:all 2015a-0ubuntu0.14.04
|
199
|
+
2015-02-04 14:17:29 status unpacked tzdata-java:all 2015a-0ubuntu0.14.04
|
200
|
+
2015-02-04 14:17:29 upgrade tzdata:all 2014i-0ubuntu0.14.04 2015a-0ubuntu0.14.04
|
201
|
+
2015-02-04 14:17:29 status half-configured tzdata:all 2014i-0ubuntu0.14.04
|
202
|
+
2015-02-04 14:17:29 status unpacked tzdata:all 2014i-0ubuntu0.14.04
|
203
|
+
2015-02-04 14:17:29 status half-installed tzdata:all 2014i-0ubuntu0.14.04
|
204
|
+
2015-02-04 14:17:29 status half-installed tzdata:all 2014i-0ubuntu0.14.04
|
205
|
+
2015-02-04 14:17:29 status unpacked tzdata:all 2015a-0ubuntu0.14.04
|
206
|
+
2015-02-04 14:17:29 status unpacked tzdata:all 2015a-0ubuntu0.14.04
|
207
|
+
2015-02-04 14:17:29 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
208
|
+
2015-02-04 14:17:29 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
209
|
+
2015-02-04 14:17:30 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
210
|
+
2015-02-04 14:17:30 trigproc mime-support:all 3.54ubuntu1.1 3.54ubuntu1.1
|
211
|
+
2015-02-04 14:17:30 status half-configured mime-support:all 3.54ubuntu1.1
|
212
|
+
2015-02-04 14:17:30 status installed mime-support:all 3.54ubuntu1.1
|
213
|
+
2015-02-04 14:17:30 trigproc gnome-menus:amd64 3.10.1-0ubuntu2 3.10.1-0ubuntu2
|
214
|
+
2015-02-04 14:17:30 status half-configured gnome-menus:amd64 3.10.1-0ubuntu2
|
215
|
+
2015-02-04 14:17:30 status installed gnome-menus:amd64 3.10.1-0ubuntu2
|
216
|
+
2015-02-04 14:17:30 trigproc desktop-file-utils:amd64 0.22-1ubuntu1 0.22-1ubuntu1
|
217
|
+
2015-02-04 14:17:30 status half-configured desktop-file-utils:amd64 0.22-1ubuntu1
|
218
|
+
2015-02-04 14:17:30 status installed desktop-file-utils:amd64 0.22-1ubuntu1
|
219
|
+
2015-02-04 14:17:30 startup packages configure
|
220
|
+
2015-02-04 14:17:30 configure tzdata:all 2015a-0ubuntu0.14.04 <none>
|
221
|
+
2015-02-04 14:17:30 status unpacked tzdata:all 2015a-0ubuntu0.14.04
|
222
|
+
2015-02-04 14:17:30 status half-configured tzdata:all 2015a-0ubuntu0.14.04
|
223
|
+
2015-02-04 14:17:31 status installed tzdata:all 2015a-0ubuntu0.14.04
|
224
|
+
2015-02-04 14:17:31 startup archives unpack
|
225
|
+
2015-02-04 14:17:31 install linux-image-extra-3.13.0-45-generic:amd64 <none> 3.13.0-45.74
|
226
|
+
2015-02-04 14:17:31 status half-installed linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74
|
227
|
+
2015-02-04 14:17:40 status unpacked linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74
|
228
|
+
2015-02-04 14:17:40 status unpacked linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74
|
229
|
+
2015-02-04 14:17:40 upgrade linux-generic:amd64 3.13.0.44.51 3.13.0.45.52
|
230
|
+
2015-02-04 14:17:40 status half-configured linux-generic:amd64 3.13.0.44.51
|
231
|
+
2015-02-04 14:17:41 status unpacked linux-generic:amd64 3.13.0.44.51
|
232
|
+
2015-02-04 14:17:41 status half-installed linux-generic:amd64 3.13.0.44.51
|
233
|
+
2015-02-04 14:17:41 status half-installed linux-generic:amd64 3.13.0.44.51
|
234
|
+
2015-02-04 14:17:41 status unpacked linux-generic:amd64 3.13.0.45.52
|
235
|
+
2015-02-04 14:17:41 status unpacked linux-generic:amd64 3.13.0.45.52
|
236
|
+
2015-02-04 14:17:41 upgrade linux-image-generic:amd64 3.13.0.44.51 3.13.0.45.52
|
237
|
+
2015-02-04 14:17:41 status half-configured linux-image-generic:amd64 3.13.0.44.51
|
238
|
+
2015-02-04 14:17:41 status unpacked linux-image-generic:amd64 3.13.0.44.51
|
239
|
+
2015-02-04 14:17:41 status half-installed linux-image-generic:amd64 3.13.0.44.51
|
240
|
+
2015-02-04 14:17:41 status half-installed linux-image-generic:amd64 3.13.0.44.51
|
241
|
+
2015-02-04 14:17:41 status unpacked linux-image-generic:amd64 3.13.0.45.52
|
242
|
+
2015-02-04 14:17:41 status unpacked linux-image-generic:amd64 3.13.0.45.52
|
243
|
+
2015-02-04 14:17:41 install linux-headers-3.13.0-45:all <none> 3.13.0-45.74
|
244
|
+
2015-02-04 14:17:41 status half-installed linux-headers-3.13.0-45:all 3.13.0-45.74
|
245
|
+
2015-02-04 14:17:47 status unpacked linux-headers-3.13.0-45:all 3.13.0-45.74
|
246
|
+
2015-02-04 14:17:47 status unpacked linux-headers-3.13.0-45:all 3.13.0-45.74
|
247
|
+
2015-02-04 14:17:47 install linux-headers-3.13.0-45-generic:amd64 <none> 3.13.0-45.74
|
248
|
+
2015-02-04 14:17:47 status half-installed linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74
|
249
|
+
2015-02-04 14:17:50 status unpacked linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74
|
250
|
+
2015-02-04 14:17:50 status unpacked linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74
|
251
|
+
2015-02-04 14:17:50 upgrade linux-headers-generic:amd64 3.13.0.44.51 3.13.0.45.52
|
252
|
+
2015-02-04 14:17:50 status half-configured linux-headers-generic:amd64 3.13.0.44.51
|
253
|
+
2015-02-04 14:17:50 status unpacked linux-headers-generic:amd64 3.13.0.44.51
|
254
|
+
2015-02-04 14:17:50 status half-installed linux-headers-generic:amd64 3.13.0.44.51
|
255
|
+
2015-02-04 14:17:50 status half-installed linux-headers-generic:amd64 3.13.0.44.51
|
256
|
+
2015-02-04 14:17:50 status unpacked linux-headers-generic:amd64 3.13.0.45.52
|
257
|
+
2015-02-04 14:17:50 status unpacked linux-headers-generic:amd64 3.13.0.45.52
|
258
|
+
2015-02-04 14:17:50 upgrade linux-libc-dev:amd64 3.13.0-44.73 3.13.0-45.74
|
259
|
+
2015-02-04 14:17:50 status half-configured linux-libc-dev:amd64 3.13.0-44.73
|
260
|
+
2015-02-04 14:17:50 status unpacked linux-libc-dev:amd64 3.13.0-44.73
|
261
|
+
2015-02-04 14:17:50 status half-installed linux-libc-dev:amd64 3.13.0-44.73
|
262
|
+
2015-02-04 14:17:50 status half-installed linux-libc-dev:amd64 3.13.0-44.73
|
263
|
+
2015-02-04 14:17:50 status unpacked linux-libc-dev:amd64 3.13.0-45.74
|
264
|
+
2015-02-04 14:17:51 status unpacked linux-libc-dev:amd64 3.13.0-45.74
|
265
|
+
2015-02-04 14:17:51 upgrade unzip:amd64 6.0-9ubuntu1.1 6.0-9ubuntu1.2
|
266
|
+
2015-02-04 14:17:51 status half-configured unzip:amd64 6.0-9ubuntu1.1
|
267
|
+
2015-02-04 14:17:51 status unpacked unzip:amd64 6.0-9ubuntu1.1
|
268
|
+
2015-02-04 14:17:51 status half-installed unzip:amd64 6.0-9ubuntu1.1
|
269
|
+
2015-02-04 14:17:51 status triggers-pending mime-support:all 3.54ubuntu1.1
|
270
|
+
2015-02-04 14:17:51 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
271
|
+
2015-02-04 14:17:51 status half-installed unzip:amd64 6.0-9ubuntu1.1
|
272
|
+
2015-02-04 14:17:51 status unpacked unzip:amd64 6.0-9ubuntu1.2
|
273
|
+
2015-02-04 14:17:51 status unpacked unzip:amd64 6.0-9ubuntu1.2
|
274
|
+
2015-02-04 14:17:51 trigproc mime-support:all 3.54ubuntu1.1 3.54ubuntu1.1
|
275
|
+
2015-02-04 14:17:51 status half-configured mime-support:all 3.54ubuntu1.1
|
276
|
+
2015-02-04 14:17:51 status installed mime-support:all 3.54ubuntu1.1
|
277
|
+
2015-02-04 14:17:51 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
278
|
+
2015-02-04 14:17:51 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
279
|
+
2015-02-04 14:17:51 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
280
|
+
2015-02-04 14:17:52 startup packages configure
|
281
|
+
2015-02-04 14:17:52 configure google-chrome-stable:amd64 40.0.2214.95-1 <none>
|
282
|
+
2015-02-04 14:17:52 status unpacked google-chrome-stable:amd64 40.0.2214.95-1
|
283
|
+
2015-02-04 14:17:52 status half-configured google-chrome-stable:amd64 40.0.2214.95-1
|
284
|
+
2015-02-04 14:17:56 status installed google-chrome-stable:amd64 40.0.2214.95-1
|
285
|
+
2015-02-04 14:17:56 configure linux-image-3.13.0-45-generic:amd64 3.13.0-45.74 <none>
|
286
|
+
2015-02-04 14:17:56 status unpacked linux-image-3.13.0-45-generic:amd64 3.13.0-45.74
|
287
|
+
2015-02-04 14:17:56 status half-configured linux-image-3.13.0-45-generic:amd64 3.13.0-45.74
|
288
|
+
2015-02-04 14:18:12 status installed linux-image-3.13.0-45-generic:amd64 3.13.0-45.74
|
289
|
+
2015-02-04 14:18:12 configure tzdata-java:all 2015a-0ubuntu0.14.04 <none>
|
290
|
+
2015-02-04 14:18:12 status unpacked tzdata-java:all 2015a-0ubuntu0.14.04
|
291
|
+
2015-02-04 14:18:12 status half-configured tzdata-java:all 2015a-0ubuntu0.14.04
|
292
|
+
2015-02-04 14:18:12 status installed tzdata-java:all 2015a-0ubuntu0.14.04
|
293
|
+
2015-02-04 14:18:12 configure linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74 <none>
|
294
|
+
2015-02-04 14:18:12 status unpacked linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74
|
295
|
+
2015-02-04 14:18:12 status half-configured linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74
|
296
|
+
2015-02-04 14:18:31 status installed linux-image-extra-3.13.0-45-generic:amd64 3.13.0-45.74
|
297
|
+
2015-02-04 14:18:31 configure linux-image-generic:amd64 3.13.0.45.52 <none>
|
298
|
+
2015-02-04 14:18:31 status unpacked linux-image-generic:amd64 3.13.0.45.52
|
299
|
+
2015-02-04 14:18:31 status half-configured linux-image-generic:amd64 3.13.0.45.52
|
300
|
+
2015-02-04 14:18:31 status installed linux-image-generic:amd64 3.13.0.45.52
|
301
|
+
2015-02-04 14:18:31 configure linux-headers-3.13.0-45:all 3.13.0-45.74 <none>
|
302
|
+
2015-02-04 14:18:31 status unpacked linux-headers-3.13.0-45:all 3.13.0-45.74
|
303
|
+
2015-02-04 14:18:31 status half-configured linux-headers-3.13.0-45:all 3.13.0-45.74
|
304
|
+
2015-02-04 14:18:31 status installed linux-headers-3.13.0-45:all 3.13.0-45.74
|
305
|
+
2015-02-04 14:18:31 configure linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74 <none>
|
306
|
+
2015-02-04 14:18:31 status unpacked linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74
|
307
|
+
2015-02-04 14:18:31 status half-configured linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74
|
308
|
+
2015-02-04 14:18:31 status installed linux-headers-3.13.0-45-generic:amd64 3.13.0-45.74
|
309
|
+
2015-02-04 14:18:31 configure linux-headers-generic:amd64 3.13.0.45.52 <none>
|
310
|
+
2015-02-04 14:18:31 status unpacked linux-headers-generic:amd64 3.13.0.45.52
|
311
|
+
2015-02-04 14:18:31 status half-configured linux-headers-generic:amd64 3.13.0.45.52
|
312
|
+
2015-02-04 14:18:31 status installed linux-headers-generic:amd64 3.13.0.45.52
|
313
|
+
2015-02-04 14:18:31 configure linux-generic:amd64 3.13.0.45.52 <none>
|
314
|
+
2015-02-04 14:18:31 status unpacked linux-generic:amd64 3.13.0.45.52
|
315
|
+
2015-02-04 14:18:31 status half-configured linux-generic:amd64 3.13.0.45.52
|
316
|
+
2015-02-04 14:18:31 status installed linux-generic:amd64 3.13.0.45.52
|
317
|
+
2015-02-04 14:18:31 configure linux-libc-dev:amd64 3.13.0-45.74 <none>
|
318
|
+
2015-02-04 14:18:31 status unpacked linux-libc-dev:amd64 3.13.0-45.74
|
319
|
+
2015-02-04 14:18:31 status half-configured linux-libc-dev:amd64 3.13.0-45.74
|
320
|
+
2015-02-04 14:18:31 status installed linux-libc-dev:amd64 3.13.0-45.74
|
321
|
+
2015-02-04 14:18:31 configure unzip:amd64 6.0-9ubuntu1.2 <none>
|
322
|
+
2015-02-04 14:18:31 status unpacked unzip:amd64 6.0-9ubuntu1.2
|
323
|
+
2015-02-04 14:18:31 status half-configured unzip:amd64 6.0-9ubuntu1.2
|
324
|
+
2015-02-04 14:18:31 status installed unzip:amd64 6.0-9ubuntu1.2
|
325
|
+
2015-02-04 16:03:39 startup archives unpack
|
326
|
+
2015-02-04 16:03:39 install smbnetfs:amd64 <none> 0.5.3b-1
|
327
|
+
2015-02-04 16:03:39 status half-installed smbnetfs:amd64 0.5.3b-1
|
328
|
+
2015-02-04 16:03:39 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
329
|
+
2015-02-04 16:03:39 status unpacked smbnetfs:amd64 0.5.3b-1
|
330
|
+
2015-02-04 16:03:40 status unpacked smbnetfs:amd64 0.5.3b-1
|
331
|
+
2015-02-04 16:03:40 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
332
|
+
2015-02-04 16:03:40 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
333
|
+
2015-02-04 16:03:40 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
334
|
+
2015-02-04 16:03:40 startup packages configure
|
335
|
+
2015-02-04 16:03:40 configure smbnetfs:amd64 0.5.3b-1 <none>
|
336
|
+
2015-02-04 16:03:40 status unpacked smbnetfs:amd64 0.5.3b-1
|
337
|
+
2015-02-04 16:03:40 status unpacked smbnetfs:amd64 0.5.3b-1
|
338
|
+
2015-02-04 16:03:40 status half-configured smbnetfs:amd64 0.5.3b-1
|
339
|
+
2015-02-04 16:03:40 status installed smbnetfs:amd64 0.5.3b-1
|
340
|
+
2015-02-05 08:23:44 startup archives unpack
|
341
|
+
2015-02-05 08:23:45 upgrade file:amd64 1:5.14-2ubuntu3.2 1:5.14-2ubuntu3.3
|
342
|
+
2015-02-05 08:23:45 status half-configured file:amd64 1:5.14-2ubuntu3.2
|
343
|
+
2015-02-05 08:23:45 status unpacked file:amd64 1:5.14-2ubuntu3.2
|
344
|
+
2015-02-05 08:23:45 status half-installed file:amd64 1:5.14-2ubuntu3.2
|
345
|
+
2015-02-05 08:23:45 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
346
|
+
2015-02-05 08:23:45 status half-installed file:amd64 1:5.14-2ubuntu3.2
|
347
|
+
2015-02-05 08:23:45 status unpacked file:amd64 1:5.14-2ubuntu3.3
|
348
|
+
2015-02-05 08:23:45 status unpacked file:amd64 1:5.14-2ubuntu3.3
|
349
|
+
2015-02-05 08:23:45 upgrade libmagic1:amd64 1:5.14-2ubuntu3.2 1:5.14-2ubuntu3.3
|
350
|
+
2015-02-05 08:23:45 status half-configured libmagic1:amd64 1:5.14-2ubuntu3.2
|
351
|
+
2015-02-05 08:23:45 status unpacked libmagic1:amd64 1:5.14-2ubuntu3.2
|
352
|
+
2015-02-05 08:23:45 status half-installed libmagic1:amd64 1:5.14-2ubuntu3.2
|
353
|
+
2015-02-05 08:23:45 status half-installed libmagic1:amd64 1:5.14-2ubuntu3.2
|
354
|
+
2015-02-05 08:23:45 status unpacked libmagic1:amd64 1:5.14-2ubuntu3.3
|
355
|
+
2015-02-05 08:23:45 status unpacked libmagic1:amd64 1:5.14-2ubuntu3.3
|
356
|
+
2015-02-05 08:23:45 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
357
|
+
2015-02-05 08:23:45 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
358
|
+
2015-02-05 08:23:46 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
359
|
+
2015-02-05 08:23:46 startup packages configure
|
360
|
+
2015-02-05 08:23:46 configure libmagic1:amd64 1:5.14-2ubuntu3.3 <none>
|
361
|
+
2015-02-05 08:23:46 status unpacked libmagic1:amd64 1:5.14-2ubuntu3.3
|
362
|
+
2015-02-05 08:23:46 status unpacked libmagic1:amd64 1:5.14-2ubuntu3.3
|
363
|
+
2015-02-05 08:23:46 status unpacked libmagic1:amd64 1:5.14-2ubuntu3.3
|
364
|
+
2015-02-05 08:23:46 status half-configured libmagic1:amd64 1:5.14-2ubuntu3.3
|
365
|
+
2015-02-05 08:23:46 status installed libmagic1:amd64 1:5.14-2ubuntu3.3
|
366
|
+
2015-02-05 08:23:46 status triggers-pending libc-bin:amd64 2.19-0ubuntu6.5
|
367
|
+
2015-02-05 08:23:46 configure file:amd64 1:5.14-2ubuntu3.3 <none>
|
368
|
+
2015-02-05 08:23:46 status unpacked file:amd64 1:5.14-2ubuntu3.3
|
369
|
+
2015-02-05 08:23:46 status half-configured file:amd64 1:5.14-2ubuntu3.3
|
370
|
+
2015-02-05 08:23:46 status installed file:amd64 1:5.14-2ubuntu3.3
|
371
|
+
2015-02-05 08:23:46 trigproc libc-bin:amd64 2.19-0ubuntu6.5 <none>
|
372
|
+
2015-02-05 08:23:46 status half-configured libc-bin:amd64 2.19-0ubuntu6.5
|
373
|
+
2015-02-05 08:23:46 status installed libc-bin:amd64 2.19-0ubuntu6.5
|
374
|
+
2015-02-07 16:21:43 startup archives unpack
|
375
|
+
2015-02-07 16:21:44 install fslint:all <none> 2.44-1
|
376
|
+
2015-02-07 16:21:44 status half-installed fslint:all 2.44-1
|
377
|
+
2015-02-07 16:21:44 status triggers-pending mime-support:all 3.54ubuntu1.1
|
378
|
+
2015-02-07 16:21:44 status triggers-pending gnome-menus:amd64 3.10.1-0ubuntu2
|
379
|
+
2015-02-07 16:21:44 status triggers-pending desktop-file-utils:amd64 0.22-1ubuntu1
|
380
|
+
2015-02-07 16:21:44 status half-installed fslint:all 2.44-1
|
381
|
+
2015-02-07 16:21:44 status triggers-pending man-db:amd64 2.6.7.1-1ubuntu1
|
382
|
+
2015-02-07 16:21:44 status unpacked fslint:all 2.44-1
|
383
|
+
2015-02-07 16:21:44 status unpacked fslint:all 2.44-1
|
384
|
+
2015-02-07 16:21:44 trigproc mime-support:all 3.54ubuntu1.1 3.54ubuntu1.1
|
385
|
+
2015-02-07 16:21:44 status half-configured mime-support:all 3.54ubuntu1.1
|
386
|
+
2015-02-07 16:21:44 status installed mime-support:all 3.54ubuntu1.1
|
387
|
+
2015-02-07 16:21:44 trigproc gnome-menus:amd64 3.10.1-0ubuntu2 3.10.1-0ubuntu2
|
388
|
+
2015-02-07 16:21:44 status half-configured gnome-menus:amd64 3.10.1-0ubuntu2
|
389
|
+
2015-02-07 16:21:44 status installed gnome-menus:amd64 3.10.1-0ubuntu2
|
390
|
+
2015-02-07 16:21:44 trigproc desktop-file-utils:amd64 0.22-1ubuntu1 0.22-1ubuntu1
|
391
|
+
2015-02-07 16:21:44 status half-configured desktop-file-utils:amd64 0.22-1ubuntu1
|
392
|
+
2015-02-07 16:21:44 status installed desktop-file-utils:amd64 0.22-1ubuntu1
|
393
|
+
2015-02-07 16:21:44 trigproc man-db:amd64 2.6.7.1-1ubuntu1 2.6.7.1-1ubuntu1
|
394
|
+
2015-02-07 16:21:44 status half-configured man-db:amd64 2.6.7.1-1ubuntu1
|
395
|
+
2015-02-07 16:21:45 status installed man-db:amd64 2.6.7.1-1ubuntu1
|
396
|
+
2015-02-07 16:21:45 startup packages configure
|
397
|
+
2015-02-07 16:21:45 configure fslint:all 2.44-1 <none>
|
398
|
+
2015-02-07 16:21:45 status unpacked fslint:all 2.44-1
|
399
|
+
2015-02-07 16:21:45 status half-configured fslint:all 2.44-1
|
400
|
+
2015-02-07 16:21:45 status installed fslint:all 2.44-1
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "rubygems"
|
3
|
+
$:.unshift File.join(File.dirname(__FILE__), *%w[. lib])
|
4
|
+
|
5
|
+
require "logflume"
|
6
|
+
|
7
|
+
|
8
|
+
flume = Logflume::Flume.new
|
9
|
+
flume.dir=File.expand_path(File.join(File.dirname(__FILE__), './spec/data/flume'))
|
10
|
+
flume.glob='*.log'
|
11
|
+
flume.blocking=true
|
12
|
+
flume.pipe='/tmp/logflume.conveyor.fifo'
|
13
|
+
flume.logger = Logger.new(STDOUT)
|
14
|
+
flume.logger.level = Logger::INFO
|
15
|
+
flume.start
|
16
|
+
|
17
|
+
gets
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), "../spec_helper.rb")
|
2
|
+
|
3
|
+
describe Logflume do
|
4
|
+
|
5
|
+
#Standard working test of all fields
|
6
|
+
it 'finds files in a directory' do
|
7
|
+
flume = Logflume::Flume.new
|
8
|
+
flume.dir='spec/data/flume'
|
9
|
+
flume.glob='*.log'
|
10
|
+
flume.logger = Logger.new('/dev/null')
|
11
|
+
expect(flume.start.class.to_s).to eq 'DirectoryWatcher'
|
12
|
+
flume.shutdown
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'should raise an InvalidDirectory Error' do
|
16
|
+
flume = Logflume::Flume.new
|
17
|
+
flume.dir='spec/data/flumex'
|
18
|
+
flume.glob='*.log'
|
19
|
+
expect{flume.start}.to raise_error(Logflume::InvalidDirectory)
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'finds files in a directory' do
|
23
|
+
flume = Logflume::Flume.new
|
24
|
+
flume.dir='spec/data/flume'
|
25
|
+
flume.glob='*.log'
|
26
|
+
flume.logger = Logger.new('/dev/null')
|
27
|
+
flume.start
|
28
|
+
#FileUtils.touch('spec/data/flume/test.log')
|
29
|
+
expect(flume.shutdown).to eq true
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
2
|
+
require "rubygems"
|
3
|
+
require "rspec"
|
4
|
+
#require 'ruby-debug'
|
5
|
+
|
6
|
+
require 'simplecov'
|
7
|
+
SimpleCov.start
|
8
|
+
|
9
|
+
require "codeclimate-test-reporter"
|
10
|
+
CodeClimate::TestReporter.start
|
11
|
+
|
12
|
+
require "logflume"
|
13
|
+
require 'pry'
|
14
|
+
|
15
|
+
|
16
|
+
# Require everything in `spec/support`
|
17
|
+
Dir[File.expand_path('../../spec/support/**/*.rb', __FILE__)].map(&method(:require))
|
18
|
+
|
19
|
+
RSpec.configure do |config|
|
20
|
+
|
21
|
+
config.before :each do
|
22
|
+
#@spawned_models = []
|
23
|
+
end
|
24
|
+
|
25
|
+
config.after :each do
|
26
|
+
#@spawned_models.each do |model|
|
27
|
+
# Object.instance_eval { remove_const model } if Object.const_defined?(model)
|
28
|
+
#end
|
29
|
+
end
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logflume
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shadowbq
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: directory_watcher
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.5.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: mkfifo
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.0.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ruby-fifo
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.0.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.0.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: fivemat
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.1'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: codeclimate-test-reporter
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: A library to continually dump the contents of new logfiles into a POSIX
|
140
|
+
FIFO pipe
|
141
|
+
email: shadowbq@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- LICENSE
|
147
|
+
- README.md
|
148
|
+
- Rakefile
|
149
|
+
- lib/logflume.rb
|
150
|
+
- lib/logflume/exceptions.rb
|
151
|
+
- lib/logflume/flume.rb
|
152
|
+
- lib/logflume/version.rb
|
153
|
+
- spec/data/flume/dpkg.log
|
154
|
+
- spec/data/flume/test.log
|
155
|
+
- spec/example/worker.rb
|
156
|
+
- spec/logflume/logflume_spec.rb
|
157
|
+
- spec/spec_helper.rb
|
158
|
+
homepage: http://github.com/shadowbq/logflume
|
159
|
+
licenses:
|
160
|
+
- MIT
|
161
|
+
metadata: {}
|
162
|
+
post_install_message:
|
163
|
+
rdoc_options:
|
164
|
+
- "--charset=UTF-8"
|
165
|
+
require_paths:
|
166
|
+
- lib
|
167
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 1.9.3
|
172
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
177
|
+
requirements: []
|
178
|
+
rubyforge_project:
|
179
|
+
rubygems_version: 2.2.2
|
180
|
+
signing_key:
|
181
|
+
specification_version: 4
|
182
|
+
summary: A library to continually dump the contents of new logfiles into a unix FIFO
|
183
|
+
pipe
|
184
|
+
test_files:
|
185
|
+
- spec/spec_helper.rb
|
186
|
+
- spec/logflume/logflume_spec.rb
|
187
|
+
- spec/data/flume/dpkg.log
|
188
|
+
- spec/data/flume/test.log
|
189
|
+
- spec/example/worker.rb
|