perl-Log-Log4perl

Log4j implementation for Perl

Log::Log4perl lets you remote-control and fine-tune the logging behaviour of your system from the outside. It implements the widely popular (Java-based) Log4j logging package in pure Perl. *For a detailed tutorial on Log::Log4perl usage, please read* <a href="http://www.perl.com/pub/a/2002/09/11/log4perl.html">http://www.perl.com/pub/a/2002/09/11/log4perl.html</a> Logging beats a debugger if you want to know what's going on in your code during runtime. However, traditional logging packages are too static and generate a flood of log messages in your log files that won't help you. 'Log::Log4perl' is different. It allows you to control the number of logging messages generated at three different levels: * At a central location in your system (either in a configuration file or in the startup code) you specify _which components_ (classes, functions) of your system should generate logs. * You specify how detailed the logging of these components should be by specifying logging _levels_. * You also specify which so-called _appenders_ you want to feed your log messages to ("Print it to the screen and also append it to /tmp/my.log") and which format ("Write the date first, then the file name and line number, and then the log message") they should be in. This is a very powerful and flexible mechanism. You can turn on and off your logs at any time, specify the level of detail and make that dependent on the subsystem that's currently executed. Let me give you an example: You might find out that your system has a problem in the 'MySystem::Helpers::ScanDir' component. Turning on detailed debugging logs all over the system would generate a flood of useless log messages and bog your system down beyond recognition. With 'Log::Log4perl', however, you can tell the system: "Continue to log only severe errors to the log file. Open a second log file, turn on full debug logs in the 'MySystem::Helpers::ScanDir' component and dump all messages originating from there into the new log file". And all this is possible by just changing the parameters in a configuration file, which your system can re-read even while it's running!

There is no official package available for openSUSE Leap 15.4

Distributions

openSUSE Tumbleweed

openSUSE Leap 15.4

openSUSE Leap 15.2

SUSE SLE-15-SP2

SUSE SLE-15-SP1

RedHat RHEL-7

RedHat RHEL-6

RedHat RHEL-5

CentOS CentOS-7

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.

openSUSE:Leap:15.0

openSUSE:Leap:15.1

openSUSE:12.2

openSUSE:12.3

openSUSE:13.1

openSUSE:13.2

openSUSE:Leap:42.1

openSUSE:Leap:42.2

openSUSE:Leap:42.3

openSUSE:12.1

openSUSE:11.4

openSUSE:11.1

SUSE:SLE-15:GA

devel:LEO

SUSE:SLE-12:SLE-Module-Adv-Systems-Management

DISCONTINUED:openSUSE:11.1

CentOS:CentOS-9:Stream

CentOS:CentOS-5

CentOS:CentOS-6

SUSE:SLE-10

deleted

SUSE:SLE-12:SLE-Module-Toolchain

SUSE:SLE-11

SUSE:SLE-11:SP1

SUSE:SLE-11:SP2

SUSE:SLE-11:SP3