serverless-dynamodb-local
serverless-dynamodb-local copied to clipboard
How to see the log/error messages of local dynamodb?
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.
Hi @ChenLi0830. When you say "you can see error logs from there" referring to the terminal on the DynamodDB Local running process?
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?
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
Thank you for explaining that and creating the issue in dynamodb-localhost plugin!