
就是软件运行错误或兼容性出现问题。系统会记录到错误日志上,供工程师解决问题参考。对一般人没多大用处。
同大多数关系型数据库一样,日志文件是MySQL数据库的重要组成部分。MySQL有几种不同的日志文件,通常包括错误日志文件,二进制日志,通用日志,慢查询日志,等等。这些日志可以帮助我们定位mysqld内部发生的事件,数据库性能故障,记录数据的变更历史,用户恢复数据库等等。本文主要描述错误日志文件。
MySQL日志文件系统的组成:
a、错误日志:记录启动、运行或停止mysqld时出现的问题。
b、通用日志:记录建立的客户端连接和执行的语句。
c、更新日志:记录更改数据的语句。该日志在MySQL 5.1中已不再使用。
d、二进制日志:记录所有更改数据的语句。还用于复制。
e、慢查询日志:记录所有执行时间超过long_query_time秒的所有查询或不使用索引的查询。
f、Innodb日志:innodb redo log。
1、修改配置文件sssd.conf
vim /etc/sssd/sssd.conf
2、重启SSSD服务
Redhat: service sssd restart
SUSE: rcsssd restart
3、在/var/log/sssd/查看日志
如何查看sssd的日志在哪个文件中,可以通过如下方法:
附官方说明:
Checking SSSD Log Files
SSSD uses a number of log files to report information about its operation, located in the /var/log/sssd/directory. SSSD produces a log file for each domain, as well as an sssd_pam.log and an sssd_nss.log file.
Additionally, the /var/log/secure file logs authentication failures and the reason for the failure.
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)