old_contents: 
  
  
  # Custom logging
  LOG_INFO_TO_DEBUG=True # info messages are printed as "debug" to not appear on publisher console.
  LOG_TRACE_TO_DEBUG=False # Print extremely detailed log messages of rabbit module as "DEBUG" messages.
  LOG_SHOW_TO_INFO=False # So I can selectively show some log messages to Katharina without having to modify the whole code.
  
  # Solr:
  SOLR_HTTPS_VERIFY_DEFAULT=False
  SOLR_QUERY_DISTRIB=False
  
  # Rabbit
  RABBIT_IS_ASYNCHRONOUS = True
  ROUTING_KEY_BASIS = 'cmip6.publisher.HASH.'
  RABBIT_DEFAULT_ROUTING_KEY=ROUTING_KEY_BASIS+'fallback' # Default, if none is included in message
  RABBIT_EMERGENCY_ROUTING_KEY=ROUTING_KEY_BASIS+'emergency' # If the message was returned as unroutable by the sender
  _persistent = 2
  _nonpersistent = 1
  RABBIT_DELIVERY_MODE = _persistent # 'delivery_mode': See https://pika.readthedocs.org/en/0.9.6/examples/comparing_publishing_sync_async.html#comparing-message-publishing-with-blockingconnection-and-selectconnection
  RABBIT_MANDATORY_DELIVERY = True  # 'mandatory':  "This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message." # See: http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.publish
  
  # Synchronous rabbit module:
  RABBIT_SYN_SOCKET_TIMEOUT=2 # defaults to 0.25 sec
  RABBIT_SYN_CONNECTION_ATTEMPTS=3 # defaults to 1
  RABBIT_SYN_CONNECTION_RETRY_DELAY_SECONDS=1 # no default
  RABBIT_SYN_MAX_TRIES=3
  RABBIT_SYN_TIMEOUT_MILLISEC=10
  
  # Asynchronous rabbit module:
  RABBIT_ASYN_RECONNECTION_SECONDS=5 # after how much time try to reconnect if connection was closed?
  RABBIT_ASYN_SOCKET_TIMEOUT=2 # defaults to 0.25 sec
  RABBIT_ASYN_CONNECTION_ATTEMPTS=1 # defaults to 1
  RABBIT_ASYN_CONNECTION_RETRY_DELAY_SECONDS=1 # no default
  RABBIT_ASYN_FINISH_MAX_TRIES=10 # How many times to recheck if all messages are published+confirmed (on finish)
  RABBIT_ASYN_FINISH_WAIT_SECONDS=0.5 # How much time to wait until you recheck (on finish)
  
  # Other
  RABBIT_LOG_MESSAGE_INCREMENT = 10
  
new_contents: 
  
  
  # Custom logging
  LOG_INFO_TO_DEBUG=True # info messages are printed as "debug" to not appear on publisher console.
  LOG_TRACE_TO_DEBUG=False # Print extremely detailed log messages of rabbit module as "DEBUG" messages.
  LOG_SHOW_TO_INFO=True # So I can selectively show some log messages to Katharina without having to modify the whole code.
  
  # Solr:
  SOLR_HTTPS_VERIFY_DEFAULT=False
  SOLR_QUERY_DISTRIB=False
  
  # Rabbit
  RABBIT_IS_ASYNCHRONOUS = True
  ROUTING_KEY_BASIS = 'cmip6.publisher.HASH.'
  RABBIT_DEFAULT_ROUTING_KEY=ROUTING_KEY_BASIS+'fallback' # Default, if none is included in message
  RABBIT_EMERGENCY_ROUTING_KEY=ROUTING_KEY_BASIS+'emergency' # If the message was returned as unroutable by the sender
  _persistent = 2
  _nonpersistent = 1
  RABBIT_DELIVERY_MODE = _persistent # 'delivery_mode': See https://pika.readthedocs.org/en/0.9.6/examples/comparing_publishing_sync_async.html#comparing-message-publishing-with-blockingconnection-and-selectconnection
  RABBIT_MANDATORY_DELIVERY = True  # 'mandatory':  "This flag tells the server how to react if the message cannot be routed to a queue. If this flag is set, the server will return an unroutable message with a Return method. If this flag is zero, the server silently drops the message." # See: http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.publish
  
  # Synchronous rabbit module:
  RABBIT_SYN_SOCKET_TIMEOUT=2 # defaults to 0.25 sec
  RABBIT_SYN_CONNECTION_ATTEMPTS=3 # defaults to 1
  RABBIT_SYN_CONNECTION_RETRY_DELAY_SECONDS=1 # no default
  RABBIT_SYN_MAX_TRIES=3
  RABBIT_SYN_TIMEOUT_MILLISEC=10
  
  # Asynchronous rabbit module:
  RABBIT_ASYN_RECONNECTION_SECONDS=5 # after how much time try to reconnect if connection was closed?
  RABBIT_ASYN_SOCKET_TIMEOUT=2 # defaults to 0.25 sec
  RABBIT_ASYN_CONNECTION_ATTEMPTS=1 # defaults to 1
  RABBIT_ASYN_CONNECTION_RETRY_DELAY_SECONDS=1 # no default
  RABBIT_ASYN_FINISH_MAX_TRIES=10 # How many times to recheck if all messages are published+confirmed (on finish)
  RABBIT_ASYN_FINISH_WAIT_SECONDS=0.5 # How much time to wait until you recheck (on finish)
  
  # Other
  RABBIT_LOG_MESSAGE_INCREMENT = 10
  
subject: Set logging to quite verbose.