小编Bra*_*nye的帖子

Ubuntu 13.X 上的 Upstart 日志消息在哪里?

在 Ubuntu 12.04 上,我可以在/var/log/syslog.

命令:

# initctl log-priority info
# initctl emit hello
Run Code Online (Sandbox Code Playgroud)

日志:

Apr  1 01:56:56 precise64 kernel: [ 8365.820425] init: Connection from private client
Apr  1 01:56:56 precise64 kernel: [ 8365.821130] init: Handling hello event
Run Code Online (Sandbox Code Playgroud)

在 Ubuntu 13.10 上,消息不会出现在目录中syslog/var/log目录下的任何其他地方,尽管类似的命令logger hello按预期工作。我应该去别的地方找他们吗?是否有我需要在某处更改的配置设置?

在 Ubuntu 13.04 上似乎有同样问题的人提出了一个关于 Server Fault的问题,更多的herehere也可能描述了同样的问题。不幸的是,这些问题没有提供解决问题的线索。

upstart logging syslog 13.10

30
推荐指数
2
解决办法
4万
查看次数

标签 统计

13.10 ×1

logging ×1

syslog ×1

upstart ×1