Log calls to the makeway method.
authorTom Hughes <tom@compton.nu>
Sun, 22 Jul 2007 11:30:43 +0000 (11:30 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 22 Jul 2007 11:30:43 +0000 (11:30 +0000)
app/controllers/amf_controller.rb

index b318e3eefc060a87dd837197c266ba083996bc80..96ba9d7c0f2a0560e4dc13af56f43f40c4f4fabf 100644 (file)
@@ -502,6 +502,9 @@ def makeway(args)
        
        xc=coord2long(x,masterscale,baselong)
        yc=coord2lat(y,masterscale,basey)
+
+        RAILS_DEFAULT_LOGGER.info("  Message: makeway, xc=#{xc}, y=#{yc}")
+
        xs1=xc-0.001; xs2=xc+0.001
        ys1=yc-0.001; ys2=yc+0.001