Where to see the logged sql statements in play2?

1. application.conf make sure: db.default.logStatements=true This config is actually a setting of bonecp which is connection pool used in play2 2. custom logger Add a custom logger configuration to conf/logger.xml. The content may be: <configuration> <appender name=”STDOUT” class=”ch.qos.logback.core.ConsoleAppender”> <encoder> <pattern>%-5level – %msg%n</pattern> </encoder> </appender> <logger name=”com.jolbox.bonecp” level=”DEBUG”> <appender-ref ref=”STDOUT” /> </logger> <logger name=”play” level=”DEBUG”> <appender-ref … Read more

NodeJS vs Play Framework for large project

The stack you choose should depend upon the needs of your application. Let’s look at Play vs. Node for their strengths: Node Real-time applications (chat, feeds) Event-driven architecture Can perform client-server duties (e.g. serve files), but not well-suited for this Database management, testing tools, etc, available as additional packages Play! Client-server applications (website, services) Share-nothing … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)