<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log_to_json(log):
 """Convert a log record into a list of strings"""

    return [log.timestamp.isoformat()[:22],
            log.level, log.process, log.message]