Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 memcached 中由 -v、-vv 或 -vvv 创建的条目中添加时间戳?
目前我的设置有 -vv 日志记录,并且它被写入文件,但是如果我需要返回,有一个时间戳会很有用。
使用 supervisord 运行 memcached,以便 supervisord 将 memcached 的 stderr 通过 syslog (将 memcached 的输出管道输出到 /var/log 中的文件并不是真正的日志记录),然后将 rsyslog 到像 Graylog2 这样的日志聚合器,它将添加时间戳?