[Koha-bugs] [Bug 8190] Koha does not have a logging module
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Sep 15 07:48:48 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8190
Mason James <mtj at kohaaloha.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Signed Off
CC| |mtj at kohaaloha.com
--- Comment #8 from Mason James <mtj at kohaaloha.com> ---
> Signed-off-by: Mason James <mtj at kohaaloha.com>
1/installed loglite package
$ sudo apt-get install liblog-loglite-perl
2/ ran test successfully
$ LOG="/tmp/t1.log" perl t/Logger.t
1..15
ok 1 - use Koha::Utils::Logger;
ok 2 - Check LogLevel syspref
ok 3 - Check $log is undef
ok 4 - Check $log is not undef
ok 5 - check error string with level 3
ok 6 - check normal string with level 3
ok 7 - check error string with level 5
ok 8 - check normal string with level 5
ok 9 - check calledby string with level 5
ok 10 - check WARN string with dump
ok 11 - check VAR1 string with dump
ok 12 - check values aaaaa string with dump
ok 13 - check log level return
ok 14 - check error string with level 3
ok 15 - check normal string with level 3
Jonathon. looks good, signing-off...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list