linkedin / linkedin/dr-elephant

How can I print the SQL log of Ebean save() in dr-elephant?

Open
#306 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
839
PR merge metrics
No merged PRs in 30d

Description

I set the configs in conf/application.conf,but just print the sql sentences in evolutions.default/
```shell
#print log for SQL
db.default.logStatements=true
logger.com.jolbox=DEBUG
```

many thanks for anyone who can help me

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Ebean save() call and the logging settings in conf/application.conf, then compare them with the SQL output currently appearing under evolutions.default/. Determine why save() statements are not logged; done when the generated SQL is visible through the configured logger.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.