<<

NAME

C4::Log - Koha Log Facility functions

SYNOPSIS

  use C4::Log;

DESCRIPTION

The functions in this module perform various functions in order to log all the operations done on the Database, including deleting and undeleting books, adding/editing members, etc.

FUNCTIONS

logaction
  &logaction($modulename, $actionname, $objectnumber, $infos, $interface);

Adds a record into action_logs table to report the different changes upon the database. Each log entry includes the number of the user currently logged in. For batch jobs, which operate without authenticating a user and setting up a session, the user number is set to 0, which is the same as the superlibrarian's number.

cronlogaction
  &cronlogaction($infos);

Convenience routine to add a record into action_logs table from a cron job. Logs the path and name of the calling script plus the information privided by param $infos.

AUTHOR

Koha Development Team <http://koha-community.org/>

<<