[Koha-bugs] [Bug 11317] Add a way to access log files from the intranet.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 18 18:01:52 CET 2014


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

Frédérick Capovilla <fcapovilla at live.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23203|0                           |1
        is obsolete|                            |

--- Comment #2 from Frédérick Capovilla <fcapovilla at live.ca> ---
Created attachment 25387
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25387&action=edit
New version of the patch, now using datatables

Test case :

Preparation :
* Add the "publiclogdir" preference to your "koha-conf.xml" file. This
preference should be in the "config" section. For this test cas, we will use
the "/tmp/koha-public" directory :
<config>
 ...
 <publiclogdir>/tmp/koha-public</publiclogdir>
 ...
</config>
* Create the log directory on your server. Make sure this directory is readable
by your web server :
$ mkdir /tmp/koha-public
* Add a test file in the log directory :
$ cd /tmp/koha-public
$ echo "Hello world!" > test.txt

Test :
* Go in the "Reports" section in the intranet and select "Report/log files"
* The "test.txt" should appear in the files list.
* Click on the "test.txt" file, a download dialog should appear. Download the
file and verify its content. It should contain the text "Hello world!".

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


More information about the Koha-bugs mailing list