Skip to content

CLI outputs could be done directly to terminal instead of writing to dbptk-app.log.txt #544

@pandabear

Description

@pandabear

Description:

I tried using master-branch built dbptk.

The usage of CLI tool produces dbptk-app.log.txt whenever it is being invoked. I feel that this is not necessary, because on terminal or command prompt, we can utilize redirections. The old behaviour can still be invoked with java -jar dbptk-app-2.11.0-SNAPSHOT.jar &>> dbptk-app.log.txt.

The benefit this change brings, I believe, is that it'll give more control to the cli-tool user to manage and control the log file outputs via familiar tools of bash redirection and logrotate. At the same time this eliminates how the current log file feels being forced upon usage even when command is run out of curiosity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions