Skip to content
  • Seiji Aguchi's avatar
    add timestamp to error_report() · 5e2ac519
    Seiji Aguchi authored
    
    
    [Issue]
    When we offer a customer support service and a problem happens
    in a customer's system, we try to understand the problem by
    comparing what the customer reports with message logs of the
    customer's system.
    
    In this case, we often need to know when the problem happens.
    
    But, currently, there is no timestamp in qemu's error messages.
    Therefore, we may not be able to understand the problem based on
    error messages.
    
    [Solution]
    Add a timestamp to qemu's error message logged by
    error_report() with g_time_val_to_iso8601().
    
    Signed-off-by: default avatarSeiji Aguchi <seiji.aguchi@hds.com>
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
    5e2ac519