builder/extra/cluster-home/lib/ruby/tungsten/util.rb
# Split a log line into the log level and actual message
# This is used when forwarding log messages from a remote commmand
Split a log line into the log level and actual message
This is used when forwarding log messages from a remote commmand
Split a log line into the log level and actual message This is used when forwarding log messages from a remote commmand
def split_log_content(content)
    level = parse_log_level(content)
    if level != nil
      prefix = get_log_level_prefix(level)
      content = content[prefix.length, content.length]
    end
    return [level, content]
  end
def split_log_content ( content ) level = parse_log_level ( content ) if level != nil prefix = get_log_level_prefix ( level ) content = content [ prefix . length , content . length ] end return [ level , content ] end
Split a log line into the log level and actual message
This is used when forwarding log messages from a remote commmand
Split a log line into the log level and actual message This is used when forwarding log messages from a remote commmand
content