English 中文(简体)
我如何检查博士的档案?
原标题:How can I check Drupal log files?

我如何检查博士的档案?

I m, Usabeth 10.10 + Pat2 + PHP 5.33 + MySQL and Drupal 7.

问题回答

查阅Droupal s本国内部记录系统的条目(watchdog database table),请上。 这些错误可以包括所投掷的博士特错以及普通购买力平价或MySQL错误。

使用watchdog( 职能是从您自己的习俗模块中添加这一标识。

当Droupal boot时,它使用PHP功能set_error_handler(,为PHP错误设定自己的错误手稿。 因此,如果PHP的错误发生在Droupal,则将通过<条码>监视(<>>>代码/代码>打电话到<条码>行政/报告/dblog。 如果你发现PHP的致命错误,例如/var/log/apache/error.log。 因此,不去看他们。 其他错误,例如: 帕帕奇的错误仍应登录在<代码>/var/log上,或者在你被配置到正轨的地方。

If you love the command line, you can also do this using drush with the watchdog show command:

<编码>rush>

More information about this command available here:

https://drushcommands.com/drush-7x/watchdog/watchdog-show/

• 确保安装碎rush(可能还需要确保博客模块能够使用):

drush watchdog-show --tail

<><>可在碎. v8 and below.<>em>上查阅。

这将使你们能够亲眼看你们的 con子。

我们遇到许多情况,我们需要核对错误和错误的标志,以显示我们所面临的问题,我们可以通过可能的方法加以核实:

1.) On blank screen Some time we got nothing but blank screen instead of our site or message written The website encountered an unexpected error. Please try again later , so we can Print Errors to the Screen by adding

error_reporting(E_ALL);

ini_set( display_errors , TRUE); 

ini_set( display_startup_errors , TRUE); 

www.un.org/spanish/ga/president

b) 我们应当使数据库在行政/行政/采购/模块上进行取样的任择核心单元成为可能,然后我们可以核对您的_domain_name/admin/reports/dblog。

3.) We can use drush command also to check logs drush watchdog-show it will show recent ten message

or if we want to continue showing logs with more information we can user
drush watchdog-show --tail --full.

4) 我们还能够使核心Syslog模块成为任何网络服务器操作系统的单元标志活动。

连续9年,你可以rush忙进入你的记录,这里有一些指挥:

  • watchdog:delete (wd-del, wd-delete, wd) Delete watchdog log records.
  • watchdog:list (wd-list) Interactively filter the watchdog message listing.
  • watchdog:show (wd-show, ws) Show watchdog messages.
  • watchdog:show-one (wd-one) Show one log record by ID.
  • watchdog:tail (wd-tail, wt) Tail watchdog messages.

如果你不以指挥为fan,请在行政菜单上填写“报告”;最近的标识。 该网页是一份最新标识信息清单,可按类型和严重程度加以过滤。

但是,如果你是专业的,你可以召集ELK,让你们都相信你。

We can use drush command also to check logs drush watchdog-show it will show recent 10 messages.

或者如果我们想继续用更多的信息显示标识,我们就可以使用

drush watchdog-show --tail --full.
MAMP/logs/php_error.log

最重要的是,选择不去MAMP/logs/核对所有类型的记录。

  1. mysql_error.log
  2. nginx_error.log
  3. apache_error.log

In Drupal, you can check the log files through the Drupal admin interface or by accessing the server files directly. Here are the steps for each method:

Through the Drupal admin interface:

Log in to your Drupal site as an administrator. Go to Reports > Recent log messages. This will show you a list of recent log entries, filtered by severity level and type.

www.un.org/Depts/DGACM/index_spanish.htm 查阅服务器档案:

Connect to your server via FTP or SFTP. Locate your Drupal installation directory. Look for the "logs" directory or server level /var/log. Open the log files you want to view.

注:根据您的电离层安装和服务器配置,记录文档的位置可能有所不同。 您可能需要与您的主办方或服务器管理人协商,以帮助查找这些记录。





相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签