Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Include wavelet and blip IDs in log messages

  • Loading branch information...
commit 98efc9e621be6f50b9ba584f2d2d44f62f80fc49 1 parent c375229
@emk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/buglinky/BugLinkyServlet.java
View
4 src/buglinky/BugLinkyServlet.java
@@ -23,7 +23,7 @@ public void processEvents(RobotMessageBundle bundle) {
/** Add an instruction blip to this wave if we were just added. */
private void addInstructionsToWave(RobotMessageBundle bundle) {
- log.info("Adding instructions to the wave.");
+ log.info("Adding instructions to wavelet " + bundle.getWavelet().getWaveletId());
Blip blip = bundle.getWavelet().appendBlip();
TextView textView = blip.getDocument();
textView.append("buglinky will attempt to link \"bug #NNN\" to a bug tracker.");
@@ -39,7 +39,7 @@ private void dispatchEvents(RobotMessageBundle bundle) {
/** Add links to the specified blip. */
private void addLinksToBlip(Blip blip) {
- log.info("Adding instructions to a blip.");
+ log.info("Adding links to blip " + blip.getBlipId());
// Adapted from http://senikk.com/min-f%C3%B8rste-google-wave-robot,
// a robot which links to @names on Twitter.
TextView doc = blip.getDocument();
Please sign in to comment.
Something went wrong with that request. Please try again.