Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.
This repository was archived by the owner on May 27, 2024. It is now read-only.

Logs are all sent to stderr #413

@AntoineAugusti

Description

@AntoineAugusti

Summary:

When running the program on the CLI in batch mode, all logs are sent to stderr even without errors.

Steps to reproduce:

Run a command like

java -jar /usr/local/bin/gtfs-realtime-validator-lib-1.0.0-SNAPSHOT.jar -gtfs file.zip -gtfsRealtimePath /tmp/path

Expected behavior:

Logs should be logged to stdout and errors should be logged to stderr

Observed behavior:

All logs, including info are sent to stderr.

This is the default behaviour of this library https://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html

org.slf4j.simpleLogger.logFile - The output target which can be the path to a file, or the special values "System.out" and "System.err". Default is "System.err".

Platform:

macOS
JDK 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions