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

How to see the log/error messages of local dynamodb? #113

Open
ChenLi0830 opened this issue Aug 3, 2017 · 4 comments
Open

How to see the log/error messages of local dynamodb? #113

ChenLi0830 opened this issue Aug 3, 2017 · 4 comments

Comments

@ChenLi0830
Copy link

ChenLi0830 commented Aug 3, 2017

Hi there, I really like this plugin. It is much easier to setup the DB, create table and seed data than the official AWS guide. (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html).
Right now, there is one thing that I don't quite figure out yet, which is how to see the log message from the local DynamoDB we start?

In the official guide, after running java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb , you can see error logs from there, but I don't quite get how to do that with this plugin.

@AshanFernando
Copy link
Collaborator

Hi @ChenLi0830. When you say "you can see error logs from there" referring to the terminal on the DynamodDB Local running process?

@ChenLi0830
Copy link
Author

ChenLi0830 commented Aug 3, 2017

Hey @AshanFernando yeah exactly. That helps my development work flow a lot. Do you happen to know if there is a way to do it with this serverless plugin?

@AshanFernando
Copy link
Collaborator

AshanFernando commented Aug 7, 2017

This is not currently supported directly. Need to implement post logs to terminal in dynamodb local thread in dynamodb-localhost plugin (Dependency for serverless-dynamodb-local). I have created an issue for this #115

@ChenLi0830
Copy link
Author

ChenLi0830 commented Aug 7, 2017

Thank you for explaining that and creating the issue in dynamodb-localhost plugin!

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

No branches or pull requests

2 participants