Last active
October 6, 2015 09:01
-
-
Save ijokarumawak/ba69ee0d8c7007747664 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
public class AirportController { | |
private final Bucket bucket; | |
private final Log logger = LogFactory.getLog(getClass()); | |
public List<String> airportNamesStartingWith(@RequestParam String prefix) { | |
N1qlQuery query = ...; | |
logger.trace(query.statement()); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<include resource="org/springframework/boot/logging/logback/base.xml"/> | |
<logger name="com.couchbase.workshop" level="TRACE"/> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment