[Koha] Viewing logs

Betsy Law betsy.law at gmail.com
Fri Oct 10 08:59:43 NZDT 2008


...and maybe I should read the whole question: how to view the logs.
The logs are just text files but you may need administrator privileges
to open them.  To look at a log in the terminal, open it with a text
editor.  Here's an example using the text editor nano to open the
koha-error_log file:

nano /var/log/koha/koha-error_log

If you can't access the file, use sudo:

sudo nano /var/log/koha/koha-error_log

Then enter the superuser password.  To see just the last few entries
in the log, you can use the tail command:

tail -f /var/log/koha/koha--error_log

This command, with the -f option, will keep the log file open and
append the newest entries to your display.  Thus, you can dink around
in Koha and see what errors are occurring where.

Probably way more than you needed to know but since I had to learn all
this stuff when I started I thought I'd throw it out there for other
newbies.

--Betsy

On Thu, Oct 9, 2008 at 12:44 PM, Betsy Law <betsy.law at gmail.com> wrote:
> Koha logs are in /var/log/koha. The Apache logs at /var/log/apache2
> are also useful for diagnosis.
>
> --Betsy
>
> On Thu, Oct 9, 2008 at 12:27 PM, Winter, James <WinterJ at arcadia.edu> wrote:
>> This should be a quick one, and you'll have to excuse my ignorance. Koha is
>> my first exposure to Perl.
>>
>>
>>
>> Where are the logs, and how do I view them?
>>
>>
>>
>> James Winter
>>
>> Arcadia University
>>
>> Systems Manager
>>
>> 215.517.2588
>>
>> winterj at arcadia.edu
>>
>>
>>
>>
>>
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
>


More information about the Koha mailing list