提交 dea8984c 编写于 作者: L Lucas Meneghel Rodrigues 提交者: Lucas Meneghel Rodrigues

Merge pull request #9 from ruda/master

sysinfo: Include /var/log/system.log (Mac compatibility)
......@@ -312,7 +312,9 @@ class SysInfo(object):
def _get_syslog_watcher(self):
syslog_watcher = None
logpaths = ["/var/log/messages", "/var/log/syslog"]
logpaths = ["/var/log/messages",
"/var/log/syslog",
"/var/log/system.log"]
for logpath in logpaths:
if os.path.exists(logpath):
syslog_watcher = LogWatcher(logpath)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册