[keycloak-dev] testsuite still eats server-side logs in IDE

Stian Thorgersen sthorger at redhat.com
Tue Apr 4 06:24:23 EDT 2017


I think this probably still needs some work. When running from IDE we don't
need the TestEventsLogger at all as the IDE (at least IntelliJ) deals with
that in a much nicer way.

When running on Travis there's probably still an issue with to much log
being generated. I can try this again, but last time I tried with
-Pauth-server-wildfly the sysoutput file became to big (4mb+).

On 4 April 2017 at 10:21, Marek Posolda <mposolda at redhat.com> wrote:

> I found some workaround to fix that. PR sent here:
> https://github.com/keycloak/keycloak/pull/4002
>
> Now the default logging level for "org.keycloak" is INFO when you run from
> IDE, but disabled when you run with maven-surefire-plugin. In both cases,
> system property "keycloak.logging.level" can be used to override the
> default.
>
> Marek
>
>
> On 04/04/17 09:24, Stian Thorgersen wrote:
>
> Pavel - can you comment on this please? If I remember correctly it wasn't
> working initially, then Marek fixed it, but now it's broken again.
>
> On 3 April 2017 at 22:06, Marek Posolda <mposolda at redhat.com> wrote:
>
>> Doesn't work here too. But it worked a month ago or so. Not sure what
>> changed in the meantime... Created https://issues.jboss.org/brows
>> e/KEYCLOAK-4705 . Will try to take a look.
>>
>> Marek
>>
>> On 03/04/17 16:22, Bill Burke wrote:
>>
>>> And that helps how?  Running in IDE should not suppress any error
>>> messages.  The error message was actually an internal Undertow one
>>> complaining that async HTTP was unsupported.  I did look in the log4j
>>> properties.  The default logging level looks like it is INFO.
>>>
>>>
>>> On 4/3/17 9:33 AM, Stian Thorgersen wrote:
>>>
>>>> https://github.com/keycloak/keycloak/blob/master/testsuite/i
>>>> ntegration-arquillian/HOW-TO-RUN.md#testsuite-logging
>>>>
>>>> On 1 April 2017 at 21:22, Bill Burke <bburke at redhat.com
>>>> <mailto:bburke at redhat.com>> wrote:
>>>>
>>>>      When running arquillian tests in the IDE, I'm still seeing no log
>>>>      messages from the server.  I had to set a breakpoint in JAX-RS
>>>> code to
>>>>      find out a Javascript parsing error.
>>>>
>>>>      _______________________________________________
>>>>      keycloak-dev mailing list
>>>>      keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>>>>      https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>>>      <https://lists.jboss.org/mailman/listinfo/keycloak-dev>
>>>>
>>>>
>>>> _______________________________________________
>>> keycloak-dev mailing list
>>> keycloak-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>>
>>
>>
>>
>
>


More information about the keycloak-dev mailing list