Book Image

Moodle 4 Administration - Fourth Edition

By : Alex Büchner
Book Image

Moodle 4 Administration - Fourth Edition

By: Alex Büchner

Overview of this book

This updated fourth edition of the classic Moodle Administration guide has been written from the ground up and covers all the new Moodle features in great breadth and depth. The topics have also been augmented with professional diagrams, illustrations, and checklists. The book starts by covering basic tasks such as how to set up and configure Moodle and perform day-to-day administration activities. You’ll then progress to more advanced topics that show you how to customize and extend Moodle, manage authentication and enrolments, and work with roles and capabilities. Next, you'll learn how to configure pedagogical and technical Moodle plugins and ensure your LMS complies with data protection regulations. Then, you will learn how to tighten Moodle’s security, improve its performance, and configure backup and restore procedures. Finally, you'll gain insights on how to compile custom reports, configure learning analytics, enable mobile learning, integrate Moodle via web services, and support different types of multi-tenancy. By the end of this book, you’ll be able to set up an efficient, fully fledged, and secure Moodle system.
Table of Contents (24 chapters)

Understanding Moodle’s logging framework

Moodle has a powerful built-in logging framework that is, as expected, fully customizable and extensible. The idea behind the logging mechanism is as follows:

  • A user performs an action that triggers an Event. An example is a student who posts a reply on a forum.
  • The Log manager entity monitors the event and decides whether it will be logged or ignored. Site-wide log manager settings determine this behavior.
  • The log manager sends the data to the active Log store plugin, which filters or enriches the information. The passed-on data might be augmented with an IP address and a timestamp.
  • The data is then written to the configured Log store.

The top half of the diagram shows this logging workflow:

Figure 12.14 – From events to reports

Figure 12.14 – From events to reports

Now, let’s take a look at what happens when a user requests a report, which is represented in the bottom half of the diagram:

  • The...