ktlacaelel-plog 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +62 -13
- data/VERSION +1 -1
- data/plog.gemspec +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -1,21 +1,29 @@
|
|
1
1
|
= Plog
|
2
2
|
|
3
|
-
Ruby on Rails
|
3
|
+
Ruby on Rails production log statistics generator.
|
4
|
+
|
4
5
|
by Kazuyoshi Tlacaelel.
|
5
6
|
|
6
|
-
==
|
7
|
+
== Copyright
|
8
|
+
|
9
|
+
Copyright (c) 2009 Kazuyoshi Tlacaelel. See LICENSE for details.
|
10
|
+
|
11
|
+
== DEPENDANCIES:
|
7
12
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
+
* FileUtils
|
14
|
+
* MD5
|
15
|
+
* File
|
16
|
+
* Dir
|
17
|
+
* URI
|
18
|
+
* rubygems 1.3.3
|
13
19
|
|
14
|
-
|
15
|
-
|
20
|
+
== KNOWN BUGS:
|
21
|
+
none, so far..
|
16
22
|
|
23
|
+
== LICENSE:
|
24
|
+
MIT. See the "LICENSE" file for details.
|
17
25
|
|
18
|
-
==
|
26
|
+
== Participate
|
19
27
|
|
20
28
|
* Send me a brief message
|
21
29
|
* Fork the project.
|
@@ -27,8 +35,49 @@ by Kazuyoshi Tlacaelel.
|
|
27
35
|
bump version in a commit by itself I can ignore when I pull)
|
28
36
|
* Send me a pull request. Bonus points for topic branches.
|
29
37
|
|
30
|
-
==
|
38
|
+
== OUTPUT:
|
31
39
|
|
32
|
-
|
40
|
+
All output is packed in a plog directory, from wherever you run
|
41
|
+
the "plog" executable.
|
42
|
+
|
43
|
+
Inside this directory you'll find a directory called objects.
|
44
|
+
wich contains many small files called "object-files"
|
45
|
+
this files contain all the parsed statistics of you log files.
|
46
|
+
|
47
|
+
The information is scattered and can be reused for future compilations
|
48
|
+
meaning that new compilations data will merge with the existing one.
|
49
|
+
|
50
|
+
all data in these "object-files" is read and summarized into a
|
51
|
+
statistics.txt file found inside of the plog directory.
|
52
|
+
|
53
|
+
== SORTING:
|
54
|
+
Comming soon!
|
55
|
+
|
56
|
+
== TESTS:
|
57
|
+
|
58
|
+
* 70% tested, with shoulda
|
59
|
+
* all core areas of the api are tested, and tests pass!
|
60
|
+
* only the cli part of the api has no tests, but will be implemented soon
|
61
|
+
|
62
|
+
== Usage:
|
63
|
+
|
64
|
+
The "plog" ( production log ) executable receives one option.
|
65
|
+
This must be a directory containing one or more production logs.
|
66
|
+
Only logs in the first level will be parsed.
|
67
|
+
Recursive reading is not allowed
|
68
|
+
|
69
|
+
$ plog directory_with_logs/
|
70
|
+
|
71
|
+
== WORKS ON:
|
72
|
+
|
73
|
+
* OSX Darwin utopia.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
|
74
|
+
* UBUNTU Linux utopia.local 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux
|
75
|
+
|
76
|
+
* OSX ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
|
77
|
+
* UBUNTU ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
|
78
|
+
|
79
|
+
* rubygems 1.3.4
|
80
|
+
* rubygems 1.3.3
|
81
|
+
|
82
|
+
== The end.
|
33
83
|
|
34
|
-
The end.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/plog.gemspec
CHANGED