<commit_before>imq.instanceconfig.version=300
<%
configs = {}
  configs["imq.log.timezone"] = node["tz"] || "GMT"

  configs.merge!(@resource.config)

  bridges = []
  services = []

  configs["imq.portmapper.port"] = @resource.port

  if @resource.admin_port
    services << "admin"
    configs["imq.admin.tcp.port"] = @resource.admin_port
  end

  if @resource.jms_port
    services << "jms"
    configs["imq.jms.tcp.port"] = @resource.jms_port
  end

  if @resource.stomp_port
    bridges << "stomp"
    configs["imq.bridge.stomp.tcp.enabled"] = "true"<commit_msg>Make it posssible to configure the log levels emmitted to log subsystem<commit_after>imq.instanceconfig.version=300
<%
configs = {}
  configs["imq.log.timezone"] = node["tz"] || "GMT"
  configs["imq.log.file.output"] = "ERROR|WARNING"

  configs.merge!(@resource.config)

  bridges = []
  services = []

  configs["imq.portmapper.port"] = @resource.port

  if @resource.admin_port
    services << "admin"
    configs["imq.admin.tcp.port"] = @resource.admin_port
  end

  if @resource.jms_port
    services << "jms"
    configs["imq.jms.tcp.port"] = @resource.jms_port
  end

  if @resource.stomp_port
    bridges << "stomp"
    configs["imq.bridge.stomp.tcp.enabled"] = "true"
{'fraction_non_alphanumeric': 0.16331456154465004, 'fraction_numerical': 0.004827031375703942, 'mean_word_length': 3.8217054263565893, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5094301', 'n_tokens_mistral': 480, 'n_tokens_neox': 460, 'n_words': 72}