Logs

Logs keep track of transactions in the system. You can decide which actions you want to log and which you don’t using these preferences. Logs can then be viewed in the Log viewer tool.

Get there: More > Administration > System preferences > Logs

Debugging

ActionLogsTraceDepth

Asks: When logging actions, store a stack trace that goes at most ___ levels deep.

Domyślnie: 0

Opis:

  • This system preference allows you to store in the action_logs table the information about where in Koha a particular logged action was generated from, and how.

  • Use 0 to deactivate this system preference.

Informacja

This information is only stored in the database, it is not visible in the log viewer tool.

DumpSearchQueryTemplate

Asks: ___ dump search query as a template parameter.

Domyślnie: Nie

Value:

  • Nie

  • Wykonaj

Opis:

  • This system preference allows you to view the search query used by Zebra or Elasticsearch, to help with troubleshooting.

  • Make sure to enable DumpTemplateVarsIntranet and/or DumpTemplateVarsOpac otherwise this system preference will have no effect.

  • The dumped query will be in the page source under «search_query».

DumpTemplateVarsIntranet

Asks: ___ dump all Template Toolkit variable to a comment in the HTML source for the staff interface.

Domyślnie: Nie

Value:

  • Nie

  • Wykonaj

Opis:

  • This system preference allows you to view the Template Toolkit variables used on a staff interface page, to help with troubleshooting.

  • The dumped information will be in the page source, in a comment at the beginning of the file.

See also:

DumpTemplateVarsOpac

Asks: ___ dump all Template Toolkit variable to a comment in the HTML source for the OPAC.

Domyślnie: Nie

Value:

  • Nie

  • Wykonaj

Opis:

  • This system preference allows you to view the Template Toolkit variables used on an OPAC page, to help with troubleshooting.

  • The dumped information will be in the page source, in a comment at the beginning of the file.

See also:

Logging

AcquisitionLog

Asks: ___ when acquisition actions take place.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha will log various actions done in the acquisitions module. These actions include:

    • Adding new baskets

    • Re-opening closed baskets

    • Modifying baskets

    • Modifying basket headers

    • Modifying basket users

    • Closing baskets

    • Approving baskets

    • Creating a new order line

    • Canceling an order line

    • Adding an invoice adjustment

    • Editing an invoice adjustment

    • Deleting an invoice adjustment

    • Receiving an order line against an invoice

    • Edycja budżetu

    • Editing a fund

    • Order release date (EDIFACT)

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «ACQUISITIONS».

    • Possible actions are

      • ADD_BASKET: utworzono nowy koszyk

      • APPROVE_BASKET: zatwierdzono koszyk EDI

      • CANCEL_ORDER: anulowano zamówienie

      • CLOSE_BASKET: Zamknięto koszyk

      • CREATE_FUND: Utworzono fundusz

      • CREATE_INVOICE_ADJUSTMENT: dodano korektę do faktury

      • CREATE_ORDER: Dodano zamówienie do koszyka

      • DELETE_FUND: usunięto fundusz

      • DELETE_INVOICE_ADJUSTMENT: usunięto korektę z faktury

      • MODIFY_BASKET: Edytowano koszyk (dodawanie lub modyfikowanie zamówień)

      • MODIFY_BASKET_HEADER: edytowano informacje o koszyku (takie jak nazwa koszyka lub miejsce rozliczenia)

      • MODIFY_BASKET_USERS: edytowano użytkowników koszyka

      • MODIFY_BUDGET: a budget was edited (this does not include closing the budget)

      • MODIFY_FUND: edytowano fundusz

      • MODIFY_ORDER: edytowano zamówienie

      • RECEIVE_ORDER: odebrano zamówienie

      • REOPEN_BASKET: ponownie otwarto zamknięty koszyk

      • UPDATE_INVOICE_ADJUSTMENT: edytowano korektę faktury

AdditionalContentLog

Uwaga

This system preference was named NewsLog prior to Koha 25.11.

Asks: ___ changes to HTML customizations, news entries, pages, and other content managed in the additional content tools.

Wartości:

  • Don’t log

  • Log

Default: Don’t log

Opis:

  • This system preference controls whether or not Koha should log when a news item, HTML customization, or page is created, modified or deleted.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «NEWS».

    • Possible actions are

      • ADD: utworzono nową wiadomość lub dostosowanie HTML

      • DELETE: usunięto wiadomość lub dostosowanie HTML

      • MODIFY: zmodyfikowano wiadomość lub dostosowanie HTML

AuthFailureLog

Asks: ___ authentication failures.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when a patron fails to successfully authenticate on the OPAC (or a staff member in the staff interface).

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «AUTH»

    • The action is «FAILURE»

AuthoritiesLog

Asks: ___ changes to authority records.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when an authority record is created, modified or deleted.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «AUTHORITIES».

    • Possible actions are

      • ADD: utworzono rekord hasła wzorcowego

      • DELETE: usunięto rekord hasła wzorcowego

      • MODIFY: zmodyfikowano rekord hasła wzorcowego

AuthSuccessLog

Asks: ___ successful authentications.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when a patron successfully authenticates on the OPAC (or a staff member in the staff interface)

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «AUTH»

    • The action is «SUCCESS»

BorrowersLog

Asks: ___ changes to patron records and patron restrictions.

Wartości:

  • Don’t log

  • Log

Default: Log

Opis:

  • This system preference controls whether or not Koha should log when a patron’s account is edited. This includes changes to a patron’s restrictions and patron attributes.

  • The logs are searchable using the log viewer tool.

  • The logs are kept in the action_logs table in the database.

    • The module name recorded in the database is «MEMBERS».

    • Actions logged include:

      Wersja

      Koha version 25.05 added logging changes to patron attributes (MODIFY).

      Koha version 25.11 added logging for:

      • resetting two-factor authentication for staff patrons (RESET 2FA)

      • merging patrons (PATRON_MERGE)

      Koha version 26.05 added logging for permission changes (MODIFY).

  • This system preference logs changes to patron card numbers. The CardnumberLog system preference also logs changes to patron card numbers. When both BorrowersLog and CardnumberLog are enabled and a card number is changed, two entries are added to the logs: one with «Modify» and one with «Modify card number».

CardnumberLog

Wersja

This system preference was first introduced in version 25.05 of Koha.

Asks: ___ changes to patron cardnumbers.

Wartości:

  • Don’t log

  • Log

Default: Log

Opis:

  • This system preference controls whether or not changes to the patron’s card number are logged separately from other changes to the patron’s details.

  • When enabled, a new line will be created in the logs with the action «Modify card number» every time a patron’s card number is updated.

Wskazówka

When a patron card is found, staff will first use the patron search to identify the card’s owner. If no results are found, one explanation is that the card number has been superseded. When CardnumberLog is enabled, you can use the Log viewer tool to easily find the patron: tick Action «Modify card number» and enter the card’s number in the Info field.

  • The BorrowersLog system preference also logs changes to patron card numbers. When both BorrowersLog and CardnumberLog are enabled and a card number is changed, two entries are added to the log: one with «Modify» and one with «Modify card number».

  • CardnumberLog can be used without BorrowersLog being enabled.

CataloguingLog

Asks: ___ any changes to bibliographic or item records.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when a bibliographic record or an item is created, modified or deleted.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «CATALOGUING».

    • Possible actions are

      • ADD: utworzono rekord bibliograficzny lub egzemplarz

      • DELETE: usunięto rekord bibliograficzny lub egzemplarz

      • MODIFY: zmodyfikowano rekord bibliograficzny lub egzemplarz albo dodano obraz okładki do rekordu

Ostrzeżenie

Since this occurs whenever a title is cataloged or edited, and the whole record is saved in the action_logs table, it can be very resource intensive, thus slowing down your system or taking a lot of space.

ClaimsLog

Asks: __when an acquisitions claim or a serials claim notice is sent.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when a notice is sent for a late order or a late serial issue.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «CLAIMS».

    • The action is «ACQUISITION CLAIM».

CronjobLog

Asks: ___ information from cron jobs.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when a cron job is run.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «CRONJOBS».

    • The action is «Run».

FinesLog

Asks: ___ when fines are charged, paid or forgiven.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log actions done on charges in patrons» accounts.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «FINES».

    • Possible actions are

      • CREATE: należność została dodana do konta użytkownika (ręcznie lub automatycznie)

      • MODIFY: należność została zmodyfikowana (umorzona)

      • UPDATE: należność została zaktualizowana (tylko w przypadku kar, które są nadal naliczane)

      • VOID: płatność została unieważniona

HoldsLog

Asks: ___ any actions on holds (create, cancel, suspend, resume, etc.).

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log actions done on holds.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «HOLDS».

    • Possible actions are

      • CANCEL: zamówienie zostało anulowane

      • CREATE: zamówienie zostało złożone

      • DELETE: zamówienie zostało usunięte, zamówiony egzemplarz został wypożyczony użytkownikowi

      • FILL: zamówienie zostało potwierdzone, a egzemplarz odłożony do odbioru

      • MODIFY: zamówienie zostało zmodyfikowane (zmieniono priorytet, datę wygaśnięcia itp.)

      • RESUME: zawieszone zamówienie zostało wznowione

      • SUSPEND: zamówienie zostało zawieszone

IllLog

Asks: ___ when changes to ILL requests take place.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log changes on ILL requests

  • Logs can be viewed for each interlibrary loan request by using the «ILL request log» button when managing a request.

  • These logs are kept in the action_logs table in the database and searchable through the log viewer tool.

    • The module is «ILL».

    • Possible actions are:

      • PATRON_NOTICE: a notice was sent to a patron regarding their ILL request.

      • STATUS_CHANGE: the status of an ILL request was modified.

IssueLog

Asks: ___ when items are checked out.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when an item is checked out.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «CIRCULATION».

    • The action is «ISSUE».

NewsLog

Uwaga

This system preference was renamed AdditionalContentsLog as of Koha 25.11.

Asks: ___ changes to news entries and other contents managed in the news tool.

Wartości:

  • Don’t log

  • Log

Default: Don’t log

Opis:

  • This system preference controls whether or not Koha should log when a news item, HTML customization, or page is created, modified or deleted.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «NEWS».

    • Possible actions are

      • ADD: utworzono nową wiadomość lub dostosowanie HTML

      • DELETE: usunięto wiadomość lub dostosowanie HTML

      • MODIFY: zmodyfikowano wiadomość lub dostosowanie HTML

NoticesLog

Asks: ___ changes to notice templates.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

RecallsLog

Asks: ___ any actions on recalls (create, cancel, expire, fulfill).

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log actions related to recalls.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «RECALLS».

    • Possible actions are

      • CANCEL: wezwanie do zwrotu zostało anulowane

      • EXPIRE: wezwanie do zwrotu wygasło

      • FILL: wezwanie do zwrotu zostało zrealizowane (potwierdzone, a egzemplarz odłożony do odbioru)

      • OVERDUE: status wezwania do zwrotu zmieniono na „przeterminowane”

RenewalLog

Asks: ___ when items are renewed.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when a checkout is renewed.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «CIRCULATION».

    • The action is «RENEWAL»

ReportsLog

Asks: ___ when reports are added, deleted or changed.

Default: Don’t log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log changes to reports.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «REPORTS».

    • Possible actions are

      • ADD: utworzono nowy raport

      • DELETE: usunięto raport

      • MODIFY: edytowano raport

ReturnLog

Asks: ___ when items are checked in.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

  • This system preference controls whether or not Koha should log when an item is checked in

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «CIRCULATION».

    • The action is «RETURN»

SubscriptionLog

Asks: ___ when serials are added, deleted or changed.

Default: Log

Wartości:

  • Don’t log

  • Log

Opis:

SuggestionsLog

Wersja

To ustawienie systemowe zostało wprowadzone w wersji 24.11 Koha.

Asks: ___ any changes to purchase suggestions (create, modify, delete).

Wartości:

  • Don’t log

  • Log

Default: Don’t log

Opis:

  • This system preference controls whether Koha should keep a log of purchase suggestions being added, updated and deleted. This is helpful when you need to troubleshoot a suggestion by checking its lifecycle.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «SUGGESTION».

    • Possible actions are:

      • CREATE: a new suggestion was created;

      • MODIFY: a suggestion was edited (includes updated and archived);

      • DELETE: a suggestion was deleted.

TransfersLog

Wersja

This system preference was added to Koha in version 25.05.

Asks: ___ item transfers.

Wartości:

  • Don’t log

  • Log

Default: Don’t log

Opis:

  • This system preference controls whether Koha should keep a log of item transfers between library branches.

  • These logs are searchable through the log viewer tool.

  • These logs are kept in the action_logs table in the database.

    • The module is «TRANSFERS».

    • Possible actions are:

      • CREATE: a new transfer was created;

      • UPDATE: a transfer was modified (it was sent, it arrived, or was canceled).