You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/01/24 20:56:23 UTC

[12/13] incubator-trafficcontrol git commit: Vendored github.com/cihub/seelog.

Vendored github.com/cihub/seelog.

This was previously incorporated as a submodule, though not quite configured correctly.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/d969e13b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/d969e13b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/d969e13b

Branch: refs/heads/master
Commit: d969e13ba4cde75f394f843d915dfd2988b6425a
Parents: d97b715
Author: Chris Lemmons <al...@gmail.com>
Authored: Thu Jan 19 11:56:29 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue Jan 24 13:55:18 2017 -0700

----------------------------------------------------------------------
 .rat-excludes                                   |    1 +
 LICENSE                                         |   27 +
 traffic_stats/vendor/github.com/cihub/seelog    |    1 -
 .../vendor/github.com/cihub/seelog/LICENSE.txt  |   24 +
 .../github.com/cihub/seelog/README.markdown     |  116 ++
 .../github.com/cihub/seelog/archive/archive.go  |  198 +++
 .../cihub/seelog/archive/archive_test.go        |  178 +++
 .../cihub/seelog/archive/gzip/gzip.go           |   64 +
 .../github.com/cihub/seelog/archive/tar/tar.go  |   72 +
 .../cihub/seelog/archive/tar/tar_test.go        |  104 ++
 .../github.com/cihub/seelog/archive/zip/zip.go  |   89 ++
 .../cihub/seelog/archive/zip/zip_test.go        |   99 ++
 .../cihub/seelog/behavior_adaptive_test.go      |  124 ++
 .../cihub/seelog/behavior_adaptivelogger.go     |  129 ++
 .../cihub/seelog/behavior_asynclogger.go        |  142 ++
 .../cihub/seelog/behavior_asyncloop_test.go     |  133 ++
 .../cihub/seelog/behavior_asynclooplogger.go    |   69 +
 .../cihub/seelog/behavior_asynctimer_test.go    |   83 ++
 .../cihub/seelog/behavior_asynctimerlogger.go   |   82 ++
 .../cihub/seelog/behavior_synclogger.go         |   75 ++
 .../cihub/seelog/behavior_synclogger_test.go    |   81 ++
 .../github.com/cihub/seelog/cfg_config.go       |  212 +++
 .../github.com/cihub/seelog/cfg_errors.go       |   61 +
 .../github.com/cihub/seelog/cfg_logconfig.go    |  141 ++
 .../cihub/seelog/cfg_logconfig_test.go          |   99 ++
 .../github.com/cihub/seelog/cfg_parser.go       | 1269 ++++++++++++++++++
 .../github.com/cihub/seelog/cfg_parser_test.go  | 1150 ++++++++++++++++
 .../github.com/cihub/seelog/common_closer.go    |   25 +
 .../cihub/seelog/common_constraints.go          |  162 +++
 .../cihub/seelog/common_constraints_test.go     |  196 +++
 .../github.com/cihub/seelog/common_context.go   |  194 +++
 .../cihub/seelog/common_context_test.go         |  127 ++
 .../github.com/cihub/seelog/common_exception.go |  194 +++
 .../cihub/seelog/common_exception_test.go       |   98 ++
 .../github.com/cihub/seelog/common_flusher.go   |   31 +
 .../github.com/cihub/seelog/common_loglevel.go  |   81 ++
 .../github.com/cihub/seelog/dispatch_custom.go  |  242 ++++
 .../seelog/dispatch_customdispatcher_test.go    |  177 +++
 .../cihub/seelog/dispatch_dispatcher.go         |  189 +++
 .../cihub/seelog/dispatch_filterdispatcher.go   |   66 +
 .../seelog/dispatch_filterdispatcher_test.go    |   67 +
 .../cihub/seelog/dispatch_splitdispatcher.go    |   47 +
 .../seelog/dispatch_splitdispatcher_test.go     |   64 +
 .../vendor/github.com/cihub/seelog/doc.go       |  175 +++
 .../vendor/github.com/cihub/seelog/format.go    |  466 +++++++
 .../github.com/cihub/seelog/format_test.go      |  237 ++++
 .../cihub/seelog/internals_baseerror.go         |   10 +
 .../seelog/internals_byteverifiers_test.go      |  118 ++
 .../cihub/seelog/internals_fsutils.go           |  320 +++++
 .../cihub/seelog/internals_xmlnode.go           |  175 +++
 .../cihub/seelog/internals_xmlnode_test.go      |  196 +++
 .../github.com/cihub/seelog/io/iotest/iotest.go |   38 +
 .../cihub/seelog/io/iotest/iotest_test.go       |   43 +
 .../vendor/github.com/cihub/seelog/log.go       |  307 +++++
 .../vendor/github.com/cihub/seelog/logger.go    |  370 +++++
 .../cihub/seelog/writers_bufferedwriter.go      |  161 +++
 .../cihub/seelog/writers_bufferedwriter_test.go |   78 ++
 .../cihub/seelog/writers_connwriter.go          |  144 ++
 .../cihub/seelog/writers_consolewriter.go       |   47 +
 .../cihub/seelog/writers_filewriter.go          |   92 ++
 .../cihub/seelog/writers_filewriter_test.go     |  257 ++++
 .../cihub/seelog/writers_formattedwriter.go     |   62 +
 .../seelog/writers_formattedwriter_test.go      |   65 +
 .../cihub/seelog/writers_rollingfilewriter.go   |  770 +++++++++++
 .../seelog/writers_rollingfilewriter_test.go    |  116 ++
 .../cihub/seelog/writers_smtpwriter.go          |  214 +++
 66 files changed, 11243 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d969e13b/.rat-excludes
----------------------------------------------------------------------
diff --git a/.rat-excludes b/.rat-excludes
index 6ea79f7..116bf91 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -47,3 +47,4 @@ ssl-bundle\.crt(?:                   MPL. Properly documented in LICENSE ){0}
 sorttable\.js(?:                     X11. Properly documented in LICENSE ){0}
 select2\..*(?:                       MIT. Properly documented in LICENSE ){0}
 prettyprint\.js(?:                   BSD 2-clause. Properly documented in LICENSE ){0}
+seelog(?:                            BSD 3-clause. Properly documented in LICENSE ){0}

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d969e13b/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index a9fd3df..196b1d6 100644
--- a/LICENSE
+++ b/LICENSE
@@ -564,3 +564,30 @@ Several subsections of main.css are under the MIT license, as noted in the file:
 
     For the bootstrap-progressbar component:
     /*! bootstrap-progressbar v0.8.4 | Copyright (c) 2012-2014 Stephan Gro� | MIT license | http://www.minddust.com */
+
+For the seelog component:
+
+Copyright (c) 2012, Cloud Instruments Co., Ltd. <in...@cin.io>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the Cloud Instruments Co., Ltd. nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.