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

disable debug logging #208

Open
tomschut opened this issue Aug 8, 2016 · 8 comments
Open

disable debug logging #208

tomschut opened this issue Aug 8, 2016 · 8 comments

Comments

@tomschut
Copy link

tomschut commented Aug 8, 2016

Hi,

I'm wondering if it's possible to disable debug logging in the runner.
I'm running the jar with maven in a build task but don't see a way to disable logging.

Kind regards,

Tom

@vmi vmi added the question label Aug 11, 2016
@vmi vmi self-assigned this Aug 11, 2016
@vmi
Copy link
Owner

vmi commented Aug 11, 2016

Hi,

A) Does the "debug logging" mean the DEBUG level output by a log library?
B) Or does it mean the following message?

[2016-07-13 08:16:29.817 +09:00] [INFO] Start: TestCase[issue114_2] (src/test/resources/selenese/issue114_2.html)
[2016-07-13 08:16:29.818 +09:00] [INFO] baseURL: http://localhost
[2016-07-13 08:16:29.840 +09:00] [INFO] <1> Command#1: open("/nested_frame.html")
[2016-07-13 08:16:30.102 +09:00] [INFO] - [Success] URL: [http://localhost/nested_frame.html] / Title: [Nested Frame Test]

@vmi
Copy link
Owner

vmi commented Jan 7, 2017

Hi,

Can you answer the above question?

@shenlian8
Copy link
Contributor

Hi,
I'd like to disable the DEBUG level output. Can you please help? Thanks!

Lian

@vmi
Copy link
Owner

vmi commented Mar 29, 2017

Hi, @shenlian8

I need information on "DEBUG level output".
Please provide actual output.

@shenlian8
Copy link
Contributor

Hi, I have it.
Just copy the logback-test.xml (under src/test/resources) to logback.xml under src/main/resources to your own project.

@vmi
Copy link
Owner

vmi commented Apr 9, 2017

Hi, @shenlian8

src/test/resources/logback-test.xml is for unit testing of Selenese Runner itself.
I do not consider this file to be used by Selenese Runner users.
If you want to use the logger configuration file in the source code, please use src/shade/resources/logback.xml instead.

@vmi
Copy link
Owner

vmi commented Apr 9, 2017

It is additional information.
If you add the following setting to logback.xml, the DEBUG log is not output.

<configuration>
  ...
  <logger name="jp.vmi.selenium" level="INFO"/>
  <logger name="jp.vmi.selenium.selenese.inject" level="OFF" />
  ...
</configuration>

@shenlian8
Copy link
Contributor

shenlian8 commented Apr 9, 2017 via email

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

3 participants