DBIx-Class-DeploymentHandler
view release on metacpan or search on metacpan
in logging functionality. It the standard six log levels; "fatal",
"error", "warn", "info", "debug", and "trace". Most of those are pretty
self explanatory. Generally a safe level to see what all is going on is
debug, which will give you everything except for the exact SQL being
run.
To enable the various logging levels all you need to do is set an
environment variables: "DBICDH_FATAL", "DBICDH_ERROR", "DBICDH_WARN",
"DBICDH_INFO", "DBICDH_DEBUG", and "DBICDH_TRACE". Each level can be set
on its own, but the default is the first three on and the last three
off, and the levels cascade, so if you turn on trace the rest will turn
on automatically.
DONATIONS
If you'd like to thank me for the work I've done on this module, don't
give me a donation. I spend a lot of free time creating free software,
but I do it because I love it.
Instead, consider donating to someone who might actually need it.
Obviously you should do research when donating to a charity, so don't
just take my word on this. I like Matthew 25: Ministries:
lib/DBIx/Class/DeploymentHandler.pm view on Meta::CPAN
what exactly is happening. The best way to do that is to use the built in
logging functionality. It the standard six log levels; C<fatal>, C<error>,
C<warn>, C<info>, C<debug>, and C<trace>. Most of those are pretty self
explanatory. Generally a safe level to see what all is going on is debug,
which will give you everything except for the exact SQL being run.
To enable the various logging levels all you need to do is set an environment
variables: C<DBICDH_FATAL>, C<DBICDH_ERROR>, C<DBICDH_WARN>, C<DBICDH_INFO>,
C<DBICDH_DEBUG>, and C<DBICDH_TRACE>. Each level can be set on its own,
but the default is the first three on and the last three off, and the levels
cascade, so if you turn on trace the rest will turn on automatically.
=head1 DONATIONS
If you'd like to thank me for the work I've done on this module, don't give me
a donation. I spend a lot of free time creating free software, but I do it
because I love it.
Instead, consider donating to someone who might actually need it. Obviously
you should do research when donating to a charity, so don't just take my word
on this. I like Matthew 25: Ministries:
( run in 1.169 second using v1.01-cache-2.11-cpan-49f99fa48dc )