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

Philippe Audet-Fortin <philippe.audet-for...@inlibro.com> changed:

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

--- Comment #92 from Philippe Audet-Fortin <philippe.audet-for...@inlibro.com> 
---
Created attachment 65909
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65909&action=edit
Bug 11317: Adds a page to access log files on the server from the intranet.

The directory used is defined by the "publiclogdir" preference in
koha-conf.xml.

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!".

Sponsored by : CCSR

Signed-off-by: Jonathan Druart <jonathan.dru...@biblibre.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkrie...@gmail.com>
Signed-off-by: Nick Clemens <n...@bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to