Skip to content

Commit

Permalink
Use more verbose logging for development
Browse files Browse the repository at this point in the history
  • Loading branch information
ljdelight committed Nov 26, 2023
1 parent e7b00ab commit bf7c4ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions conf/dev.conf.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
include "application.conf"

# Change logging levels to see more interesting things while developing.
logger {
root=DEBUG
play=TRACE
application=TRACE
}

db.default {
url="jdbc:postgresql://localhost:5432/mp_dev"
url=${?MR_DATABASE_URL}
Expand Down
5 changes: 4 additions & 1 deletion conf/logback-dev.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
<!-- Set psql to DEBUG to see the sql statements sent to the db -->
<logger name="org.maproulette.framework.psql" level="INFO" />

<logger name="play" level="INFO" />
<!-- Use DEBUG for play to see useful information and the HTTP requests to overpass. At TRACE level it dumps tcp transactions, so avoid trace level. -->
<logger name="play" level="DEBUG" />
<!-- Use TRACE for play.api.mvc to see what is happening with the HTTP requests to the backend -->
<logger name="play.api.mvc" level="TRACE" />

<!-- More akka logging tweaks can be made in the dev.conf, akka.actor.debug -->
<logger name="akka" level="INFO" />
Expand Down

0 comments on commit bf7c4ba

Please sign in to comment.