Hi Ralph,
The issue for me is log4j2 to slf4j adaptor doesnt seem to be working. I
added the log4j configuration only when the logger wasnt working hence i
mentioned in brackets that i wasnt sure if its needed or not..
So since you mentioned that things should be working without the
configuration
I am really not clear on what the issue is. It seems you have things configured
so that you can write to the Log4j 2 API but actually use SLF4J for logging.
There is nothing wrong with that but if you are routing to SLF4J and using
SLF4J Simple Logger then the Log4j 2 configuration won’t even b
Hello,
Can anyone please let me know if my way of using log4j is wrong or is it an
issue with the log4j to slf4j binding.
Regards,
-Yogesh
On Saturday, August 23, 2014, Yogesh Rao wrote:
> Thanks matt!
>
> First is what i am attempting to check.. Here instead of logback i have
> used slf4j-sim
Yes Matt, I've done that, but that does not solve the problem.
On Sat, Aug 23, 2014 at 3:45 AM, Matt Sicker wrote:
> You can specify the packages attribute on the root Configuration element.
>
> http://logging.apache.org/log4j/2.x/manual/configuration.html#ConfigurationSyntax
>
>
> On 22 August