Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
32ed839f0e | ||
|
ef77998689 | ||
|
8815474a65 |
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
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
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
16
debian/control
vendored
Normal file
16
debian/control
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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
Normal file
36
debian/copyright
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
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
Normal file
2
debian/liblog-log4perl-layout-gelf-perl.docs
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
README.md
|
||||||
|
README
|
46
debian/patches/no-net-test.patch
vendored
Normal file
46
debian/patches/no-net-test.patch
vendored
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
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
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
no-net-test.patch
|
4
debian/rules
vendored
Executable file
4
debian/rules
vendored
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
4
debian/upstream/metadata
vendored
Normal file
4
debian/upstream/metadata
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
Archive: CPAN
|
||||||
|
Contact: Jason Pope <cowholio4@gmail.com>
|
||||||
|
Name: Log-Log4perl-Layout-GELF
|
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
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