[ grinder-Bugs-3511536 ] Generated clojure script uses logger API incorrectly
SourceForge.net <[email protected]> Mon, 26 Mar 2012 13:38:01 -0700
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3511536, was opened at 2012-03-26 12:02 Message generated for change (Comment added) made by philipa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3511536&group_id=18598 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: TCPProxy Group: None >Status: Pending >Resolution: Fixed Priority: 4 Private: No Submitted By: Chris Bolton (saiko-chriskun) Assigned to: Philip Aston (philipa) Summary: Generated clojure script uses logger API incorrectly Initial Comment: Just a few things I've noticed so far. The following generates an error about defaultHeaders not being defined: (defrequest request103 (Test. 103 "GET main.css") url0 defaultHeaders) And the following should be info, not output: (defmacro .GET [& k] `(.. grinder (getLogger) (output (str "GET " (join ", " `(~~@k)))))) (defmacro .POST [& k] `(.. grinder (getLogger) (output (str "POST " (join ", " `(~~@k)))))) ---------------------------------------------------------------------- >Comment By: Philip Aston (philipa) Date: 2012-03-26 13:38 Message: Fixed for next release: http://grinder.git.sourceforge.net/git/gitweb.cgi?p=grinder/grinder;a=commitdiff;h=730ecd56c570254ef16e3de33023c0917619914b ---------------------------------------------------------------------- Comment By: Philip Aston (philipa) Date: 2012-03-26 13:34 Message: I've opened 3511553 for the defaultHeaders error. This bug wil focus on the incorrect use of the logger API by the clojure scirpt. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3511536&group_id=18598 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure