Robert,
It looks good, but do not know the answer to your question.
I have a similar need but instead of replacing with a string, I want to add the
logging context or the message header so that from the lines we can identify
the source process.
Yogi
On Feb 14, 2013, at 3:17 PM, Robert
Ralph,
Can you point me how to build this jar by myself, so that I do not need to
wait for the next available build.
Thanks
Yogi
On Wed, Feb 13, 2013 at 5:54 PM, Ralph Goers ralph.go...@dslextreme.comwrote:
The SLF4J binding also supports the SLF4J extensions and so requires
Where are you wanting to do this? In a pattern in the pattern layout you just
use %X{app name} as you show below. In many places you can use ${mdc:name}.
Ralph
On Feb 15, 2013, at 12:02 PM, Yogi Nerella wrote:
Hi,
I want to replace some constant strings with the MDC.context() values?
Ralph,
when I configure DatePattern, I recieve the following message, but it
honors the parameter and generates the log files as configured.
Is this a bug?
2013-02-15 11:59:11,233 ERROR RollingFile contains an invalid element or
attribute DatePattern
Yogi
On Thu, Feb 14, 2013 at 10:39 AM,
This is an slf4j jar. Download the jar from http://www.slf4j.org/download.html.
Or add
dependency
groupIdorg.slf4j/groupId
artifactIdslf4j-ext/artifactId
version1.7.2/version
/dependency
to your maven pom.
Ralph
On Feb 15, 2013, at 10:26 AM, Yogi Nerella wrote:
Ralph,
Can you
I meant the data pattern in the filePattern attribute. As an example see
https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk/core/src/test/resources/log4j-rolling2.xml.
It is configured to roll every 2 seconds and to modulate.
Ralph
On Feb 15, 2013, at 2:18 PM, Yogi Nerella wrote: