Debian Codegraph @

eg/l4p-tmpl

raw
1 #!/usr/bin/perl
2 ###########################################
3 # l4p-tmpl
4 # 2009, Mike Schilli <[email protected]>
5 ###########################################
6 use strict;
7 use warnings;
8
9 print <<'EOT';
10 log4perl.category = WARN, Logfile
11 log4perl.appender.Logfile = Log::Log4perl::Appender::File
12 log4perl.appender.Logfile.filename = test.log
13 log4perl.appender.Logfile.layout = Log::Log4perl::Layout::PatternLayout
14 log4perl.appender.Logfile.layout.ConversionPattern = %d %F{1} %L> %m %n
15 EOT
16
17 __END__
18
19 =head1 NAME
20
21 l4p-tmpl - Print out a Log4perl template configuration
22
23 =head1 SYNOPSIS
24
25 l4p-tmpl >l4p.conf
26
27 =head1 DESCRIPTION
28
29 l4p-tmpl prints out the text of a template Log4perl configuration for
30 starting a new Log4perl configuration file.
31
32 =head1 LICENSE
33
34 Copyright 2002-2013 by Mike Schilli E<lt>[email protected]<gt>
35 and Kevin Goess E<lt>[email protected]<gt>.
36
37 This library is free software; you can redistribute it and/or modify
38 it under the same terms as Perl itself.
39
40 =head1 AUTHOR
41
42 Please contribute patches to the project on Github:
43
44 http://github.com/mschilli/log4perl
45
46 Send bug reports or requests for enhancements to the authors via our
47
48 MAILING LIST (questions, bug reports, suggestions/patches):
49 [email protected]
50
51 Authors (please contact them via the list above, not directly):
52 Mike Schilli <[email protected]>,
53 Kevin Goess <[email protected]>
54
55 Contributors (in alphabetical order):
56 Ateeq Altaf, Cory Bennett, Jens Berthold, Jeremy Bopp, Hutton
57 Davidson, Chris R. Donnelly, Matisse Enzer, Hugh Esco, Anthony
58 Foiani, James FitzGibbon, Carl Franks, Dennis Gregorovic, Andy
59 Grundman, Paul Harrington, Alexander Hartmaier David Hull,
60 Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter,
61 Brett Rann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope,
62 Lars Thegler, David Viner, Mac Yang.
63