def tags2trace(tags):
    """Convert a list tags into a formatted string suitable for the trace callback log"""
    arg_str = ''
    for i, t in enumerate(tags[1:]):
        if i > 0:
            arg_str += ','
        arg_str += '%s' % t
    return arg_str
