Moodle中的日志文件在哪里? [英] Where are the log files located in Moodle?

查看:87
本文介绍了Moodle中的日志文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到Moodle中记录数据的存储位置.在Moodle数据库中,有一个名为"log"的表,用于存储日志数据.但是,我可以获得Moodle报告,该报告显示了绝对未存储在此表中的日志记录数据.我正在使用Moodle 2.7.8版.

I need to locate where the logging data is stored in Moodle. In the Moodle database there is a table called 'log' where log data is stored. However, I can get Moodle reports showing logging data that is definitely NOT stored in this table. I am using Moodle version 2.7.8.

推荐答案

在我使用的Moodle版本(2.7.8)中,有三种记录数据的可能性(称为日志存储"):

In the Moodle version I am using (2.7.8) you have three possibilities to log your data (called 'log stores'):

  1. 标准日志:这是默认设置.所有日志数据将保存到数据库表'logstore_standard_log'.例如,您可以在此处查看用户查看特定课程的时间,用户登录系统或注销的时间等.
  2. 旧版日志:这是Moodle早期版本中使用的日志结构.所有日志数据均已保存到数据库表"log"中.
  3. 外部数据库:您可以在此处选择和配置外部数据库以存储日志数据.可以在站点管理"->插件"->日志记录"->管理日志存储"->外部数据库日志设置"下配置数据库连接,名称和其他设置.
  1. Standard log: This is the default possibility. All the log data will be saved to the database table 'logstore_standard_log'. You can see here for example when a user has viewed a particular course, when a user has logged into the system, or logged out, etc.
  2. Legacy log: This is a log structure used in earlier versions of Moodle. All the log data have been saved to the database table 'log'.
  3. External database: you have here the possibility to choose and configure an external database in order to store your log data. The database connection, name, and other settings may be configured under Site administration->Plugins->Logging->Manage log stores->External database log settings.

有关日志记录的当前信息可以在以下位置找到: https://docs.moodle.org/dev/Logging_2

Current information on logging can be found at: https://docs.moodle.org/dev/Logging_2

这篇关于Moodle中的日志文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆