log4r 1.1.9 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
data/INSTALL DELETED
@@ -1,11 +0,0 @@
1
-
2
- For RubyGems Users
3
- ------------------
4
-
5
- Log4r is available via the RubyGems online distribution network. To install
6
- log4r using this method,
7
-
8
- gem --remote-install log4r
9
-
10
- The log4r.gemspec file is included with the release, allowing one to build the
11
- gem file by hand. For more info, see http://rubygems.rubyforge.org/wiki/wiki.pl
data/LICENSE DELETED
@@ -1,90 +0,0 @@
1
-
2
- This software has evolved through three maintainers and three
3
- copyright notices. I am an employee of UC Berkeley, which
4
- therefore makes me an employee of the State of California.
5
- By law, all works that I create as part of my job are
6
- owned by the University of California Regents. I am able
7
- to mark software as being under the Gnu General Lesser Public
8
- License v3 and have done so for my versions of the Log4r software.
9
-
10
- See the file LICENSE.LGPLv3 for more information.
11
-
12
- 18 Sept 2009
13
- Colby Gutierrez-Kraybill
14
- colby@astro.berkeley.edu
15
-
16
- Copyright (c) 2009 University of California Regents, Gnu LGPLv3
17
- Copyright (c) 2007, 2008 Revolution Health
18
- Copyright (c) 2002-2004 Leon Torres
19
-
20
- ---------------------------------------------------------------------
21
- Copyright (c) 2007, 2008 Revolution Health
22
- Permission is hereby granted, free of charge, to any person obtaining
23
- a copy of this software and associated documentation files (the
24
- "Software"), to deal in the Software without restriction, including
25
- without limitation the rights to use, copy, modify, merge, publish,
26
- distribute, sublicense, and/or sell copies of the Software, and to
27
- permit persons to whom the Software is furnished to do so, subject to
28
- the following conditions:
29
-
30
- The above copyright notice and this permission notice shall be
31
- included in all copies or substantial portions of the Software.
32
-
33
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
35
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
37
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
38
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
39
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40
- ----------------------------------------------------------------------
41
-
42
- --------------------------------------------------------------------------
43
- Copyright (c) 2002, 2004 Leon Torres <leon@ugcs.caltech.edu>
44
- Log4r is copyrighted free software
45
- You can redistribute it and/or modify it under either the terms of the GPL,
46
- or the conditions below::
47
-
48
- 1. You may make and give away verbatim copies of the source form of the
49
- software without restriction, provided that you duplicate all of the
50
- original copyright notices and associated disclaimers.
51
-
52
- 2. You may modify your copy of the software in any way, provided that
53
- you do at least ONE of the following:
54
-
55
- a) place your modifications in the Public Domain or otherwise
56
- make them Freely Available, such as by posting said
57
- modifications to Usenet or an equivalent medium, or by allowing
58
- the author to include your modifications in the software.
59
-
60
- b) use the modified software only within your corporation or
61
- organization.
62
-
63
- c) rename any non-standard executables so the names do not conflict
64
- with standard executables, which must also be provided.
65
-
66
- d) make other distribution arrangements with the author.
67
-
68
- 3. You may distribute the software in object code or executable
69
- form, provided that you do at least ONE of the following:
70
-
71
- a) distribute the executables and library files of the software,
72
- together with instructions (in the manual page or equivalent)
73
- on where to get the original distribution.
74
-
75
- b) accompany the distribution with the machine-readable source of
76
- the software.
77
-
78
- c) give non-standard executables non-standard names, with
79
- instructions on where to get the original software distribution.
80
-
81
- d) make other distribution arrangements with the author.
82
-
83
- 4. You may modify and include the part of the software into any other
84
- software (possibly commercial).
85
-
86
- 5. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
87
- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
88
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
89
- PURPOSE.
90
- ---------------------------------------------------------------------------
@@ -1,165 +0,0 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
-
9
- This version of the GNU Lesser General Public License incorporates
10
- the terms and conditions of version 3 of the GNU General Public
11
- License, supplemented by the additional permissions listed below.
12
-
13
- 0. Additional Definitions.
14
-
15
- As used herein, "this License" refers to version 3 of the GNU Lesser
16
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
- General Public License.
18
-
19
- "The Library" refers to a covered work governed by this License,
20
- other than an Application or a Combined Work as defined below.
21
-
22
- An "Application" is any work that makes use of an interface provided
23
- by the Library, but which is not otherwise based on the Library.
24
- Defining a subclass of a class defined by the Library is deemed a mode
25
- of using an interface provided by the Library.
26
-
27
- A "Combined Work" is a work produced by combining or linking an
28
- Application with the Library. The particular version of the Library
29
- with which the Combined Work was made is also called the "Linked
30
- Version".
31
-
32
- The "Minimal Corresponding Source" for a Combined Work means the
33
- Corresponding Source for the Combined Work, excluding any source code
34
- for portions of the Combined Work that, considered in isolation, are
35
- based on the Application, and not on the Linked Version.
36
-
37
- The "Corresponding Application Code" for a Combined Work means the
38
- object code and/or source code for the Application, including any data
39
- and utility programs needed for reproducing the Combined Work from the
40
- Application, but excluding the System Libraries of the Combined Work.
41
-
42
- 1. Exception to Section 3 of the GNU GPL.
43
-
44
- You may convey a covered work under sections 3 and 4 of this License
45
- without being bound by section 3 of the GNU GPL.
46
-
47
- 2. Conveying Modified Versions.
48
-
49
- If you modify a copy of the Library, and, in your modifications, a
50
- facility refers to a function or data to be supplied by an Application
51
- that uses the facility (other than as an argument passed when the
52
- facility is invoked), then you may convey a copy of the modified
53
- version:
54
-
55
- a) under this License, provided that you make a good faith effort to
56
- ensure that, in the event an Application does not supply the
57
- function or data, the facility still operates, and performs
58
- whatever part of its purpose remains meaningful, or
59
-
60
- b) under the GNU GPL, with none of the additional permissions of
61
- this License applicable to that copy.
62
-
63
- 3. Object Code Incorporating Material from Library Header Files.
64
-
65
- The object code form of an Application may incorporate material from
66
- a header file that is part of the Library. You may convey such object
67
- code under terms of your choice, provided that, if the incorporated
68
- material is not limited to numerical parameters, data structure
69
- layouts and accessors, or small macros, inline functions and templates
70
- (ten or fewer lines in length), you do both of the following:
71
-
72
- a) Give prominent notice with each copy of the object code that the
73
- Library is used in it and that the Library and its use are
74
- covered by this License.
75
-
76
- b) Accompany the object code with a copy of the GNU GPL and this license
77
- document.
78
-
79
- 4. Combined Works.
80
-
81
- You may convey a Combined Work under terms of your choice that,
82
- taken together, effectively do not restrict modification of the
83
- portions of the Library contained in the Combined Work and reverse
84
- engineering for debugging such modifications, if you also do each of
85
- the following:
86
-
87
- a) Give prominent notice with each copy of the Combined Work that
88
- the Library is used in it and that the Library and its use are
89
- covered by this License.
90
-
91
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
- document.
93
-
94
- c) For a Combined Work that displays copyright notices during
95
- execution, include the copyright notice for the Library among
96
- these notices, as well as a reference directing the user to the
97
- copies of the GNU GPL and this license document.
98
-
99
- d) Do one of the following:
100
-
101
- 0) Convey the Minimal Corresponding Source under the terms of this
102
- License, and the Corresponding Application Code in a form
103
- suitable for, and under terms that permit, the user to
104
- recombine or relink the Application with a modified version of
105
- the Linked Version to produce a modified Combined Work, in the
106
- manner specified by section 6 of the GNU GPL for conveying
107
- Corresponding Source.
108
-
109
- 1) Use a suitable shared library mechanism for linking with the
110
- Library. A suitable mechanism is one that (a) uses at run time
111
- a copy of the Library already present on the user's computer
112
- system, and (b) will operate properly with a modified version
113
- of the Library that is interface-compatible with the Linked
114
- Version.
115
-
116
- e) Provide Installation Information, but only if you would otherwise
117
- be required to provide such information under section 6 of the
118
- GNU GPL, and only to the extent that such information is
119
- necessary to install and execute a modified version of the
120
- Combined Work produced by recombining or relinking the
121
- Application with a modified version of the Linked Version. (If
122
- you use option 4d0, the Installation Information must accompany
123
- the Minimal Corresponding Source and Corresponding Application
124
- Code. If you use option 4d1, you must provide the Installation
125
- Information in the manner specified by section 6 of the GNU GPL
126
- for conveying Corresponding Source.)
127
-
128
- 5. Combined Libraries.
129
-
130
- You may place library facilities that are a work based on the
131
- Library side by side in a single library together with other library
132
- facilities that are not Applications and are not covered by this
133
- License, and convey such a combined library under terms of your
134
- choice, if you do both of the following:
135
-
136
- a) Accompany the combined library with a copy of the same work based
137
- on the Library, uncombined with any other library facilities,
138
- conveyed under the terms of this License.
139
-
140
- b) Give prominent notice with the combined library that part of it
141
- is a work based on the Library, and explaining where to find the
142
- accompanying uncombined form of the same work.
143
-
144
- 6. Revised Versions of the GNU Lesser General Public License.
145
-
146
- The Free Software Foundation may publish revised and/or new versions
147
- of the GNU Lesser General Public License from time to time. Such new
148
- versions will be similar in spirit to the present version, but may
149
- differ in detail to address new problems or concerns.
150
-
151
- Each version is given a distinguishing version number. If the
152
- Library as you received it specifies that a certain numbered version
153
- of the GNU Lesser General Public License "or any later version"
154
- applies to it, you have the option of following the terms and
155
- conditions either of that published version or of any later version
156
- published by the Free Software Foundation. If the Library as you
157
- received it does not specify a version number of the GNU Lesser
158
- General Public License, you may choose any version of the GNU Lesser
159
- General Public License ever published by the Free Software Foundation.
160
-
161
- If the Library as you received it specifies that a proxy can decide
162
- whether future versions of the GNU Lesser General Public License shall
163
- apply, that proxy's public statement of acceptance of any version is
164
- permanent authorization for you to choose that version for the
165
- Library.
data/README DELETED
@@ -1,94 +0,0 @@
1
- Log4r - A flexible logging library for Ruby
2
-
3
-
4
- This release: 1.1.9
5
- Release date: 28/Oct/2010
6
- License: LGPLv3
7
- Maintainer: Colby Gutierrez-Kraybill
8
- Contributors: Leon Torres Original Maintainer
9
- Martain Stannard RollingFileOutputter
10
- Steve Lumos SyslogOutputter
11
- Andreas Hund YamlConfigurator
12
- Jamis Buck log4r.gemspec
13
- Charles Strahan log4jxml/chainsaw integration
14
- Nitay Joffe STARTTLS
15
- David Siegal Smart updates to RollingFileOutputter
16
- Homepage: http://log4r.rubyforge.org/
17
- Download: http://rubyforge.org/frs/?group_id=203
18
-
19
- Summary
20
- -------
21
-
22
- Log4r is a comprehensive and flexible logging library written in Ruby for use
23
- in Ruby programs. It features a hierarchical logging system of any number of
24
- levels, custom level names, logger inheritance, multiple output destinations
25
- per log event, execution tracing, custom formatting, thread safteyness, XML
26
- and YAML configuration, and more.
27
-
28
-
29
- Requirements
30
- ------------
31
-
32
- * (required) Ruby >= 1.7.0 (use log4r 1.0.2 for Ruby 1.6)
33
- * (optional) RubyGems for installing Log4r as a gem
34
- * (optional) Ruby syslog library for SyslogOutputter
35
- * (optional) XML configuration requires REXML
36
- * (optional) log4j chainsaw integration requires 'builder' >= 2.0
37
- * (optional) STARTTLS email login, requires 'smtp_tls" if Ruby <= 1.8.6
38
-
39
-
40
- More Info
41
- ---------
42
-
43
- * Installation instructions are in the file INSTALL
44
-
45
- * Comprehensive examples are provided in examples/ and can be run right away
46
-
47
- * Log4r homepage: doc/index.html
48
- Online: http://log4r.rubyforge.org/
49
-
50
- * Manual: doc/manual.html
51
- Online: http://log4r.rubyforge.org/manual.html
52
-
53
- * RDoc API reference: doc/rdoc/index.html
54
- Online: http://log4r.rubyforge.org/rdoc/index.html
55
-
56
- * The changelog
57
-
58
- * Log4r is hosted by RubyForge, which provides news, bug tracking and a forum
59
-
60
- * Feel free to bug the maintainer with any questions (listed at top of file)
61
-
62
-
63
- Usability
64
- ---------
65
-
66
- Log4r works really well, so please take advantage of it right away! :)
67
- All versions since 0.9.2 have been stable and backward-compatible. The
68
- code is stable enough that updates are infrequent and usually only for
69
- adding features or keeping the code up to date with Ruby.
70
-
71
-
72
- Platform Issues
73
- ---------------
74
-
75
- Log4r is known to work on Linux and WindowsXP. It's safe to assume that Log4r
76
- will work on any Ruby-supported platform.
77
-
78
-
79
- When Trouble Strikes
80
- --------------------
81
-
82
- Log4r comes with an internal logger. To see its output, create a logger
83
- named 'log4r' before any others and give it a suitable outputter,
84
-
85
- trouble = Logger.new['log4r']
86
- trouble.add Outputter.stdout
87
-
88
- Try running the unit tests provided (run the file tests/runtest.rb). Let
89
- the maintainer know what's up and feel free to explore and fix the
90
- code yourself. It's well documented and written in Ruby. :)
91
-
92
- Also, try out the bug/request tracking system at
93
- http://rubyforge.org/tracker/?group_id=203
94
-
data/Rakefile DELETED
@@ -1,74 +0,0 @@
1
-
2
- # $Id$
3
-
4
- # incorporated from Revolution Health version of log4r
5
-
6
- require 'rubygems'
7
- require 'rake/gempackagetask'
8
- require 'rubygems/specification'
9
- require 'date'
10
- require 'fileutils'
11
-
12
- GEM = "log4r"
13
- GEM_VERSION = "1.1.9"
14
- AUTHOR = "Colby Gutierrez-Kraybill"
15
- EMAIL = "colby@astro.berkeley.edu"
16
- HOMEPAGE = %q{http://log4r.rubyforge.org}
17
- SUMMARY = "Log4r, logging framework for ruby"
18
- DESCRIPTION = "See also: http://logging.apache.org/log4j"
19
- DIRS = [ "doc/**/*", "examples/**/*", "lib/**/*", "tests/**/*" ]
20
-
21
- spec = spec = Gem::Specification.new do |s|
22
- s.name = GEM
23
- s.rubyforge_project = s.name
24
- s.version = GEM_VERSION
25
- s.platform = Gem::Platform::RUBY
26
- s.has_rdoc = true
27
- s.extra_rdoc_files = ["README", "LICENSE", 'TODO']
28
- s.summary = SUMMARY
29
- s.description = DESCRIPTION
30
- s.author = AUTHOR
31
- s.email = EMAIL
32
- s.homepage = HOMEPAGE
33
-
34
- # Uncomment this to add a dependency
35
- # s.add_dependency "foo"
36
-
37
- s.require_path = 'lib'
38
- s.files = %w(LICENSE LICENSE.LGPLv3 README INSTALL Rakefile TODO)
39
- s.files = s.files + DIRS.collect do |dir|
40
- Dir.glob( dir )
41
- end.flatten.delete_if { |f| f.include?("CVS") }
42
- end
43
-
44
- Rake::GemPackageTask.new(spec) do |pkg|
45
- pkg.gem_spec = spec
46
- end
47
-
48
- desc "install the gem locally"
49
- task :install => [:package] do
50
- sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}}
51
- end
52
-
53
- desc "create a gemspec file"
54
- task :make_spec do
55
- File.open("#{GEM}.gemspec", "w") do |file|
56
- file.puts spec.to_ruby
57
- end
58
- end
59
-
60
- # require 'test/unit'
61
-
62
- # TODO: integrate unit tests
63
- #task :test do
64
- # FileUtils.mkdir(File.join(File.dirname(__FILE__), %w[log])) if !File.exists?(File.join(File.dirname(__FILE__), %w[log]))
65
- # FileUtils.rm(Dir.glob(File.join(File.dirname(__FILE__), %w[log *])))
66
- # runner = Test::Unit::AutoRunner.new(true)
67
- # runner.to_run << 'test'
68
- # runner.pattern = [/_test.rb$/]
69
- # exit if !runner.run
70
- #end
71
-
72
- task :default => [:package] do
73
- end
74
-
data/TODO DELETED
@@ -1,2 +0,0 @@
1
-
2
-