Skip to content

Instantly share code, notes, and snippets.

@paukul
Created August 11, 2010 09:41
Show Gist options
  • Save paukul/518745 to your computer and use it in GitHub Desktop.
Save paukul/518745 to your computer and use it in GitHub Desktop.
logging_config = { :routing_key => "applogging",
:host => AppConfig.amqp_logging.host,
:exchange => AppConfig.amqp_logging.exchange }
logger = AMQPLogging::Logger.new(config.log_path, logging_config)
config.logger = logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment