Skip to content

Log lever for easy reading #162

@Nikolo

Description

@Nikolo

Logs in logfile most similarity and not difference between situation (error, info or warn)
Now log is:

2020-01-16T11:03:35,32146,git@gitlab.local:my-module.git | Executing git checkout 8e86ff7fde404602b639d230e0d76d1746c47dbc
2020-01-16T11:03:35,32140,MY::Module1-0.000_390413012 | Distribution provides: MY::Module1 (0.000_390413012)
2020-01-16T11:03:35,32146,git@gitlab.local:my-module.git | Distribution does not have META.json nor META.yml
2020-01-16T11:03:35,32146,git@gitlab.local:my-module.git | No way to guess distribution META

Difficult to search for error messages

Easy way if all messages contents loglevel, for example:

2020-01-16T11:03:35,32146,git@gitlab.local:my-module.git [INFO]| Executing git checkout 8e86ff7fde404602b639d230e0d76d1746c47dbc
2020-01-16T11:03:35,32140,MY::Module1-0.000_390413012 [INFO]| Distribution provides: MY::Module1 (0.000_390413012)
2020-01-16T11:03:35,32146,git@gitlab.local:my-module.git [WARN]| Distribution does not have META.json nor META.yml
2020-01-16T11:03:35,32146,git@gitlab.local:my-module.git [FAIL]| No way to guess distribution META

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions