Compare commits
No commits in common. "master" and "upstream" have entirely different histories.
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -1,5 +0,0 @@
|
||||
liblog-log4perl-layout-gelf-perl (0.03-1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- Mario Fetka <mario.fetka@gmail.com> Fri, 16 Feb 2018 16:04:08 +0100
|
1
debian/compat
vendored
1
debian/compat
vendored
@ -1 +0,0 @@
|
||||
9
|
16
debian/control
vendored
16
debian/control
vendored
@ -1,16 +0,0 @@
|
||||
Source: liblog-log4perl-layout-gelf-perl
|
||||
Section: perl
|
||||
Priority: optional
|
||||
Maintainer: Mario Fetka <mario.fetka@gmail.com>
|
||||
Build-Depends: debhelper (>= 9), libjson-xs-perl, libio-compress-perl, liblog-log4perl-perl, libtest-simple-perl
|
||||
Build-Depends-Indep: perl
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: https://metacpan.org/release/Log-Log4perl-Layout-GELF
|
||||
|
||||
Package: liblog-log4perl-layout-gelf-perl
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${perl:Depends}
|
||||
Description: Log4perl for graylog2
|
||||
(no description was found)
|
||||
.
|
||||
This description was automagically extracted from the module by dh-make-perl.
|
36
debian/copyright
vendored
36
debian/copyright
vendored
@ -1,36 +0,0 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Source: https://metacpan.org/release/Log-Log4perl-Layout-GELF
|
||||
Upstream-Contact: Jason Pope <cowholio4@gmail.com>
|
||||
Upstream-Name: Log-Log4perl-Layout-GELF
|
||||
DISCLAIMER: This copyright info was automatically extracted
|
||||
from the perl module. It may not be accurate, so you better
|
||||
check the module sources in order to ensure the module for its
|
||||
inclusion in Debian or for general legal information. Please,
|
||||
if licensing information is incorrectly generated, file a bug
|
||||
on dh-make-perl.
|
||||
NOTE: Don't forget to remove this disclaimer once you are happy
|
||||
with this file.
|
||||
|
||||
Files: *
|
||||
Copyright: Jason Pope <cowholio4@gmail.com>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2018, Mario Fetka <mario.fetka@gmail.com>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
License: Artistic
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the Artistic License, which comes with Perl.
|
||||
.
|
||||
On Debian systems, the complete text of the Artistic License can be
|
||||
found in `/usr/share/common-licenses/Artistic'.
|
||||
|
||||
License: GPL-1+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
On Debian systems, the complete text of version 1 of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
2
debian/liblog-log4perl-layout-gelf-perl.docs
vendored
2
debian/liblog-log4perl-layout-gelf-perl.docs
vendored
@ -1,2 +0,0 @@
|
||||
README.md
|
||||
README
|
46
debian/patches/no-net-test.patch
vendored
46
debian/patches/no-net-test.patch
vendored
@ -1,46 +0,0 @@
|
||||
diff -uNr liblog-log4perl-layout-gelf-perl/t/01-log_to_graylog.t liblog/t/01-log_to_graylog.t
|
||||
--- liblog-log4perl-layout-gelf-perl/t/01-log_to_graylog.t 2018-02-16 16:07:18.220000000 +0100
|
||||
+++ liblog/t/01-log_to_graylog.t 1970-01-01 01:00:00.000000000 +0100
|
||||
@@ -1,42 +0,0 @@
|
||||
-#!perl -T
|
||||
-
|
||||
-use strict;
|
||||
-use warnings;
|
||||
-
|
||||
-use Test::More tests => 4;
|
||||
-
|
||||
-BEGIN { use_ok( 'Log::Log4perl::Layout::GELF' ); }
|
||||
-BEGIN { use_ok( 'Log::Log4perl' ); }
|
||||
-
|
||||
-my $layout = Log::Log4perl::Layout::GELF->new();
|
||||
-isa_ok($layout, "Log::Log4perl::Layout::GELF");
|
||||
-
|
||||
-can_ok($layout, ("render"));
|
||||
-
|
||||
-_init_logger();
|
||||
-
|
||||
-
|
||||
-sub _init_logger
|
||||
-{
|
||||
-
|
||||
- my %logger_conf = (
|
||||
- 'log4perl.logger.test.screen' => "DEBUG, DEFAULT",
|
||||
- 'log4perl.appender.DEFAULT' => "Log::Log4perl::Appender::Screen",
|
||||
- 'log4perl.appender.DEFAULT.stderr' => "0",
|
||||
- 'log4perl.appender.DEFAULT.layout' => "GELF",
|
||||
- 'log4perl.logger.test.server' => "DEBUG, SERVER",
|
||||
- 'log4perl.appender.SERVER' => "Log::Log4perl::Appender::Socket",
|
||||
- 'log4perl.appender.SERVER.PeerAddr' => '10.211.1.94',
|
||||
- 'log4perl.appender.SERVER.PeerPort' => "12201",
|
||||
- 'log4perl.appender.SERVER.Proto' => "udp",
|
||||
- 'log4perl.appender.SERVER.layout' => "GELF"
|
||||
- );
|
||||
-
|
||||
- Log::Log4perl->init( \%logger_conf );
|
||||
- my $LOGGER = Log::Log4perl->get_logger('test.server');
|
||||
- $LOGGER->debug("debug test");
|
||||
- $LOGGER->error("error test");
|
||||
- $LOGGER->info("info test");
|
||||
- $LOGGER->warn("warn test");
|
||||
- $LOGGER->fatal("fatal test");
|
||||
-}
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +0,0 @@
|
||||
no-net-test.patch
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/source/format
vendored
1
debian/source/format
vendored
@ -1 +0,0 @@
|
||||
3.0 (quilt)
|
4
debian/upstream/metadata
vendored
4
debian/upstream/metadata
vendored
@ -1,4 +0,0 @@
|
||||
---
|
||||
Archive: CPAN
|
||||
Contact: Jason Pope <cowholio4@gmail.com>
|
||||
Name: Log-Log4perl-Layout-GELF
|
2
debian/watch
vendored
2
debian/watch
vendored
@ -1,2 +0,0 @@
|
||||
version=3
|
||||
https://metacpan.org/release/Log-Log4perl-Layout-GELF .*/Log-Log4perl-Layout-GELF-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
|
Loading…
Reference in New Issue
Block a user