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

Room.owner() function is printing log in info level #1769

Closed
windmemory opened this issue May 7, 2019 · 2 comments
Closed

Room.owner() function is printing log in info level #1769

windmemory opened this issue May 7, 2019 · 2 comments
Labels

Comments

@windmemory
Copy link
Member

Important:Please file the issue follow the template, or we won't help you to solve the problem.

0. Report Issue Guide

  1. Please run the following command and check whether the problem has been fixed:
rm -rf package-lock.json
rm -rf node_modules
npm install
  1. Please search in FAQ List first, and make sure your problem has not been solved before.

  2. Please search in the issue first, and make sure your problem had not been reported before

1. Versions

  • What is your wechaty version?
    Answer:0.25.14

  • Which puppet are you using for wechaty? (padchat/puppeteer/padpro/...)
    Answer:any puppet

  • What is your wechaty-puppet-XXX(padchat/puppeteer/) version?
    Answer:doesn't matter

  • What is your node version? (run node --version)
    Answer:doesn't matter

  • What os are you using
    Answer:doesn't matter

2. Describe the bug

The function Room.owner() is printing a info level log, which is not necessary.

3. To Reproduce

After wechaty started, call owner() on a Room instance, then there will be a info log printed.

4. Expected behavior

No such info log printed.

5. Actual behavior

printed log as below:

INFO Room owner()

6. Full Output Logs

Set env WECHATY_LOG=silly in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)

We need full log instead of log screenshot or log fragments!

Show Logs
$ WECHATY_LOG=silly node yourbot.js

Question: Paste your FULL(DO NOT ONLY PROVIDE FRAGMENTS) log messages
Answer:

7. Additional context

Add any other context about the problem here.

[bug]

@huan
Copy link
Member

huan commented May 7, 2019

Thanks for making Wechaty better!

@huan huan added the bug label May 7, 2019
@windmemory
Copy link
Member Author

@huan my pleasure.

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

No branches or pull requests

2 participants