在/etc/riak-cs/riak-cs.conf我改变了
log.syslog=off
到
log.syslog=on
之后
service riak-cs start
返回
18:33:51.427 [error] Error generating configuration in phase apply_translations 18:33:51.428 [error] Translation for 'lager.handlers' expected to find setting 'log.syslog.ident' but was missing
我在/etc/riak-cs/riak-cs.conf中添加了此选项
log.syslog=on log.syslog.ident=riakcs
但之后它给了我
18:18:40.800 [error] Error generating configuration in phase transform_datatypes 18:18:40.800 [error] Conf file attempted to set unknown variable: log.syslog.ident
我错过了什么?
答案 0 :(得分:0)
Depending Riak CS version, but it seems that you encountered the bug [1]. An workaround to use advanced.config is described in the issue comment [2].
It will be fixed in the coming releases Riak CS 2.1.0.
[1] https://github.com/basho/riak_cs/pull/1162 [2] https://github.com/basho/riak_cs/pull/1162#issuecomment-110550814