Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log.message can only be seen in the console if you set logLevel to 4 #78

Closed
vladsoroceanu opened this issue Mar 31, 2014 · 5 comments
Closed

Comments

@vladsoroceanu
Copy link

Hi,

This seems to not be documented, but log.message doesn't work out of the box. You need to run your test like this "dalek your_test.js -l 4" or set logLevel to 4 in the Dalekfile.json to be able to see the messages.

@asciidisco asciidisco self-assigned this Mar 31, 2014
@asciidisco
Copy link
Member

Thanks for the addition.
Needs to be added to the docs.

@mdix
Copy link
Contributor

mdix commented Mar 31, 2014

Hi @asciidisco,

should this really be documented? I'd suggest changing it. log.message should have output no matter what loglevel I'm in (except zero, that should suppress any output).

Best
Marc

Edit: Would you mind checking that issue? It's related to this one: #66

@asciidisco
Copy link
Member

Correct, seems like a duplicate & after thinking about it for a second, I think you are right.
log.messageshould always show the output beginning at log level 1.
I believe that this is more user friendly & prevents headaches ;)

@mdix
Copy link
Contributor

mdix commented Mar 31, 2014

Ok, great. I'll place a PQ soon.

Best
Marc

@asciidisco
Copy link
Member

Fixed with mdix/dalek-reporter-console@2065c43

Will test & close if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants