[Koha-bugs] [Bug 8190] Add a logging module to Koha, that can report log message to staff interface (for developer use)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 27 15:27:59 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8190

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #41 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Jonathan,

thx for looking into this.

I have continued testing and found another problem. When you don't have the new
environment variable set, the test suite fails. The tests need to pass without
additional 'developer configuration'.

Can you please change the test? Maybe you can set the environment variable in
the test and use a writeable temporary file.

I am going set 'Failed QA' for this reason - please switch back to Signed Off
when the tests pass. 

There is also a little typo (Logguer) when you run the test with prove
t/Logger.t:
| You must call this test with a KOHA_LOG env var like: |
| KOHA_LOG="/tmp/t1.log" prove t/Logguer.t      |

I was also wondering about the 7 levels - do we have some more documentation
how the different levels are supposed to be used? Maybe this is a standard
Perl/Logging thing I am not aware of, but I think some more pointers in the POD
or on a wiki page would be really helpful before we start using this all over
Koha.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list