ytti/oxidized · error
The configuration 'use_syslog' is deprecated. Remove it and
Error message
The configuration 'use_syslog' is deprecated. Remove it and use 'logger' instead
What it means
Error "The configuration 'use_syslog' is deprecated. Remove it and use 'logger' instead" thrown in ytti/oxidized.
Source
Thrown at lib/oxidized/logger.rb:15
require 'semantic_logger'
module Oxidized
module Logger
include SemanticLogger::Loggable
def self.setup
config = Oxidized.config
FileUtils.mkdir_p(Config::LOG) unless File.directory?(Config::LOG)
SemanticLogger.add_signal_handler
if config.use_syslog?
SemanticLogger.add_appender(appender: :syslog)
logger.warn("The configuration 'use_syslog' is deprecated. " \
"Remove it and use 'logger' instead")
elsif config.log?
SemanticLogger.add_appender(file_name: File.expand_path(config.log))
logger.warn("The configuration 'log' is deprecated. " \
"Remove it and use 'logger' instead")
elsif config.logger?
SemanticLogger.default_level = config.logger.level if config.logger.level?
config.logger.appenders.each { |a| add_appender a } if config.logger.has_key?('appenders')
end
# No appenders configured
SemanticLogger.add_appender(io: $stderr) if SemanticLogger.appenders.empty?
return if %i[trace debug].include?(SemanticLogger.default_level)
SemanticLogger.default_level = :debug if config.debug?
end
View on GitHub (pinned to 687ed4262d)
When it happens
Trigger: Thrown at lib/oxidized/logger.rb:15 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ytti/oxidized@687ed4262d (2026-08-23).
Data as JSON: /api/errors/b6f6552a8b2bcaf9.
Report an issue: GitHub.