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

Logging #124

Open
kravchenko-rn opened this issue Jun 8, 2017 · 4 comments
Open

Logging #124

kravchenko-rn opened this issue Jun 8, 2017 · 4 comments

Comments

@kravchenko-rn
Copy link

kravchenko-rn commented Jun 8, 2017

@alvin-reyes fb-botmill logs everything to console. Can I make it put logs in a file?
Thanks in advance.

@alvin-reyes
Copy link
Collaborator

alvin-reyes commented Jun 8, 2017 via email

@andrefsore
Copy link

I would suggest not to pack logback.xml in the jar file. Let the user decide where and what to log

@alvin-reyes
Copy link
Collaborator

@andrefsore , do you have any suggestion how can we do it better?

@andrefsore
Copy link

The developer who imports the lib, should create theirs own logback.xml. I had to create logback-test.xml in order to override logback.xml that was packed in fb-botmil.jar, because I wanted to set the logging level by myself, for instance.

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

No branches or pull requests

3 participants