0xcodezero / activemessaging

Automatically exported from code.google.com/p/activemessaging
0 stars 0 forks source link

In a rails development environment, 0.6.1 generates spurious output on every load #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run your favorite activemessaging app under WEBrick
2. cause some actions to be executed

What is the expected output? What do you see instead?

I expect nothing.  Instead, I get

"/Users/marc/myapp"
"/Users/marc/myapp/config/messaging.rb"

every single time an action runs.

What version of the product are you using? On what operating system?

0.6.1, on macos 10.6.2

Please provide any additional information below.

The problem is in activemessaging.rb, in self.load_config.  It uses p to
print out APP_ROOT and the config file path.  p should never be used in a
library.  If you want to output this, use the logger as you do later in the
method, but really, I think you should just delete those two lines.

Original issue reported on code.google.com by mhorow...@gmail.com on 10 Feb 2010 at 10:00

GoogleCodeExporter commented 9 years ago
I agree that this output isn't that valuable and can be removed.

Original comment by maarten....@gmail.com on 28 Mar 2010 at 9:45

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by kooks...@gmail.com on 29 Mar 2010 at 10:15