Skip to content

Travis: Add a tool to print timestamp in front of log messages #40577

Closed
@alexcrichton

Description

@alexcrichton

Often when debugging travis logs it's difficult to see how long everything is taking as we only time some steps, not all. Additionally there's not a lot of information to see how long it takes between steps.

It'd be awesome if we had a tool where we basically wrapped the entire build (src/ci/run.sh) in a process that simply prepended all stdout/stderr messages with a relative timestamp. AppVeyor does this by default (has a timestamp for each log line message) but unfortunately Travis doesn't.

Apparently Julia has something like this which ends up looking like https://travis-ci.org/JuliaLang/julia/jobs/211627387#L370 which is basically exactly what we'd want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions