Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snowflake driver prints logs with console #126

Open
oscar60310 opened this issue Oct 28, 2022 · 0 comments
Open

Snowflake driver prints logs with console #126

oscar60310 opened this issue Oct 28, 2022 · 0 comments
Labels
needs-triage type/bug Something went wrong

Comments

@oscar60310
Copy link
Contributor

Environment

  • Version:

    cli version: 0.3.0
    core version: 0.3.0
    build version: 0.3.0
    serve version: 0.3.0
    

What's wrong?

Snowflake driver prints logs with console:

2022-10-28 03:26:55.957  INFO  [CLI] Starting server... 
2022-10-28 03:26:56.166  DEBUG [SERVE] Initializing data source: mock 
2022-10-28 03:26:56.166  DEBUG [SERVE] Data source mock initialized
2022-10-28 03:26:56.167  DEBUG [SERVE] Initializing data source: snowflake
2022-10-28 03:26:56.169  DEBUG [CORE] Initializing profile: snow using snowflake driver
Unable to connect: Incorrect username or password was specified.
Unable to connect: Incorrect username or password was specified.
Unable to connect: Incorrect username or password was specified

What's the correct behavior?

It should print logs through our logger (tslog).

Additional context

Snowflake driver used winston as their logger and not allow us to modify it.

https://github.com/snowflakedb/snowflake-connector-nodejs/blob/master/lib/snowflake.js#L23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage type/bug Something went wrong
Projects
None yet
Development

No branches or pull requests

1 participant