How To Install perl-Log-Handler on Fedora 36

In this tutorial we learn how to install perl-Log-Handler in Fedora 36. perl-Log-Handler is Log messages to several outputs

Introduction

In this tutorial we learn how to install perl-Log-Handler on Fedora 36.

What is perl-Log-Handler

This module is a object oriented handler for logging, tracing and debugging. It is very easy to use and provides a simple interface for multiple output objects with lots of configuration parameters. You can easily filter the amount of logged information on a per-output base, define priorities, create patterns to format the messages and reload the complete logging machine.

We can use yum or dnf to install perl-Log-Handler on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Log-Handler.

Install perl-Log-Handler on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Log-Handler using dnf by running the following command:

sudo dnf -y install perl-Log-Handler

Install perl-Log-Handler on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Log-Handler using yum by running the following command:

sudo yum -y install perl-Log-Handler

How To Uninstall perl-Log-Handler on Fedora 36

To uninstall only the perl-Log-Handler package we can use the following command:

sudo dnf remove perl-Log-Handler

perl-Log-Handler Package Contents on Fedora 36

/usr/share/doc/perl-Log-Handler
/usr/share/doc/perl-Log-Handler/ChangeLog
/usr/share/doc/perl-Log-Handler/README
/usr/share/doc/perl-Log-Handler/examples
/usr/share/doc/perl-Log-Handler/examples/benchmark
/usr/share/doc/perl-Log-Handler/examples/benchmark/benchmark.pl
/usr/share/doc/perl-Log-Handler/examples/category
/usr/share/doc/perl-Log-Handler/examples/category/category.pl
/usr/share/doc/perl-Log-Handler/examples/config
/usr/share/doc/perl-Log-Handler/examples/config/example.conf
/usr/share/doc/perl-Log-Handler/examples/config/example.pl
/usr/share/doc/perl-Log-Handler/examples/config/example.props
/usr/share/doc/perl-Log-Handler/examples/config/example.yaml
/usr/share/doc/perl-Log-Handler/examples/filter
/usr/share/doc/perl-Log-Handler/examples/filter/extended_filter.pl
/usr/share/doc/perl-Log-Handler/examples/filter/filter_caller.pl
/usr/share/doc/perl-Log-Handler/examples/filter/filter_message.pl
/usr/share/doc/perl-Log-Handler/examples/layout
/usr/share/doc/perl-Log-Handler/examples/layout/layout.pl
/usr/share/doc/perl-Log-Handler/examples/layout/pattern.pl
/usr/share/doc/perl-Log-Handler/examples/layout/runtime.pl
/usr/share/doc/perl-Log-Handler/examples/logger
/usr/share/doc/perl-Log-Handler/examples/logger/MyApp.pm
/usr/share/doc/perl-Log-Handler/examples/logger/myapp.pl
/usr/share/doc/perl-Log-Handler/examples/prepare
/usr/share/doc/perl-Log-Handler/examples/prepare/prepare.pl
/usr/share/doc/perl-Log-Handler/examples/reload
/usr/share/doc/perl-Log-Handler/examples/reload/logger1.conf
/usr/share/doc/perl-Log-Handler/examples/reload/logger2.conf
/usr/share/doc/perl-Log-Handler/examples/reload/reload.pl
/usr/share/doc/perl-Log-Handler/examples/socket
/usr/share/doc/perl-Log-Handler/examples/socket/client.pl
/usr/share/doc/perl-Log-Handler/examples/socket/server.pl
/usr/share/doc/perl-Log-Handler/examples/text-csv
/usr/share/doc/perl-Log-Handler/examples/text-csv/log-as-csv-string.pl
/usr/share/licenses/perl-Log-Handler
/usr/share/licenses/perl-Log-Handler/LICENSE
/usr/share/man/man3/Log::Handler.3pm.gz
/usr/share/man/man3/Log::Handler::Config.3pm.gz
/usr/share/man/man3/Log::Handler::Examples.3pm.gz
/usr/share/man/man3/Log::Handler::Levels.3pm.gz
/usr/share/man/man3/Log::Handler::Output.3pm.gz
/usr/share/man/man3/Log::Handler::Output::DBI.3pm.gz
/usr/share/man/man3/Log::Handler::Output::Email.3pm.gz
/usr/share/man/man3/Log::Handler::Output::File.3pm.gz
/usr/share/man/man3/Log::Handler::Output::Forward.3pm.gz
/usr/share/man/man3/Log::Handler::Output::Screen.3pm.gz
/usr/share/man/man3/Log::Handler::Output::Sendmail.3pm.gz
/usr/share/man/man3/Log::Handler::Output::Socket.3pm.gz
/usr/share/man/man3/Log::Handler::Pattern.3pm.gz
/usr/share/man/man3/Log::Handler::Plugin::Config::General.3pm.gz
/usr/share/man/man3/Log::Handler::Plugin::Config::Properties.3pm.gz
/usr/share/man/man3/Log::Handler::Plugin::YAML.3pm.gz
/usr/share/perl5/vendor_perl/Log
/usr/share/perl5/vendor_perl/Log/Handler
/usr/share/perl5/vendor_perl/Log/Handler.pm
/usr/share/perl5/vendor_perl/Log/Handler/Config.pm
/usr/share/perl5/vendor_perl/Log/Handler/Examples.pod
/usr/share/perl5/vendor_perl/Log/Handler/Levels.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output
/usr/share/perl5/vendor_perl/Log/Handler/Output.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/DBI.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/Email.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/File.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/Forward.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/Screen.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/Sendmail.pm
/usr/share/perl5/vendor_perl/Log/Handler/Output/Socket.pm
/usr/share/perl5/vendor_perl/Log/Handler/Pattern.pm
/usr/share/perl5/vendor_perl/Log/Handler/Plugin
/usr/share/perl5/vendor_perl/Log/Handler/Plugin/Config
/usr/share/perl5/vendor_perl/Log/Handler/Plugin/Config/General.pm
/usr/share/perl5/vendor_perl/Log/Handler/Plugin/Config/Properties.pm
/usr/share/perl5/vendor_perl/Log/Handler/Plugin/YAML.pm

References

Summary

In this tutorial we learn how to install perl-Log-Handler on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).