调试技巧

By Symphony - Last updated: Wednesday, July 2, 2008 - Save & Share - Leave a Comment

# tail -f /var/log/apache2/error.log

运行 apache2 错误日志

tail -n 1000 /var/log/apache2/error.log

apache2错误日志的位置,显示 1000 行

/var/log/syslog
系统错误日志的位置

Posted in Uncategorized • Tags: , , , Top Of Page

Write a comment