Closed guilhem closed 11 years ago
It's missing the log_dir attribute default value no ?
humm... no I set it to: ::File.join(node['zabbix']['log_dir'], "zabbix_server.log")
Guilhem, Attribute node['zabbix']['log_dir'] don't seem to exist and you use it to define attr log_file , this bug seem to exist before your patch.
log_dir is set here: https://github.com/laradji/zabbix/blob/master/attributes/default.rb
it's for this reason that I include attribute "default" before using it
Okay, i see it ! :)
Don't change behaviour for anyone, default to Logfile But set "nil" or "false" to node["zabbix"]["server"]["log_file"] disable it and use syslog instead