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

Increased logging to console and introduced file logging #32

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

andreachild
Copy link
Contributor

Increased logging to console and introduced file logging to facilitate troubleshooting.

File logging:

  • uses pino and pino-pretty logging libraries
  • log level is controlled via the --log-verbose option which will output more information to the file (default log level is INFO)
  • queries and node/edge data are logged at DEBUG level and not logged by default

Console output:

  • added more messages and spinners to indicate what the utility is doing and its progress
  • yellow text is used to highlight some information for the user

Other:

  • fixed sample TODO schema which had extra data that causes it to fail when used as an import schema
  • deleted unused test case input graphql schema files

src/logger.js Outdated Show resolved Hide resolved
src/lambdaZip.js Outdated Show resolved Hide resolved
src/pipelineResources.js Show resolved Hide resolved
src/pipelineResources.js Show resolved Hide resolved
src/pipelineResources.js Outdated Show resolved Hide resolved
src/pipelineResources.js Outdated Show resolved Hide resolved
Copy link
Contributor

@kmcginnes kmcginnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…e troubleshooting.

File logging:

-uses pino and pino-pretty logging libraries
-log level is controlled via the --log-verbose option which will output more information to the file (default log level is INFO)
-queries and node/edge data are logged at DEBUG level and not logged by default

Console output:

-added more messages and spinners to indicate what the utility is doing and its progress
-yellow text is used to highlight some information for the user

Other:

-fixed sample TODO schema which had extra data that causes it to fail when used as an import schema
-deleted unused test case input graphql schema files
@Cole-Greer Cole-Greer merged commit 909ed51 into aws:main Oct 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants