logback-access currently does not support conditional logging for no
good reason as it would be trivial to add it. Could you please add a bug
report asking for this feature?
Thanks,
--
Ceki
On 09/10/2011 10:45 PM, Marshall Pierce wrote:
I got the conditional configuration syntax
(http
the data you are asking for.
Does this answer your question?
--
Ceki
On 13/10/2011 11:49 AM, Stevo Slavić wrote:
Hello Logback users,
I'm trying to migrate from log4j, more specifically to find a
replacement for org.apache.log4j.LogManager.getCurrentLoggers
Is there any other way to o
Marco,
Have you looked at SiftingAppender?
Cheers,
--
Ceki
On 18.10.2011 11:37, Marco Sousa wrote:
Hi there.
I want to set the filename of the file in the appender dynamic
constructed by conversionRule (ClassicConverter).
Because the filename is depending the %logger.
Converter:
if
Yes, but tou can write your own discriminator. It's just a few lines of
code.
On 18.10.2011 14:06, Marco Sousa wrote:
Hi,
But sift only work with:
AccessEventDiscriminator (Access)
MDCBasedDiscriminator (MDC)
ContextBasedDiscriminator, (context)
JNDIBasedContextDiscriminator (Database)
Don'
Cool. Thanks for keeping is informed.
--
Ceki
On 18.10.2011 16:55, Stevo Slavić wrote:
Migrated from log4j to logback. There was a custom PatternLayout
extensions which processed logging event message before passing on new
logging event with changed message.
Logging event message processing
Hi Stevo,
Thanks for pointing out this omission in the "codes" page. I just
corrected it in http://github.com/ceki/logback/commit/1c1e6e5b44a7f .
By the way, I am glad perf4j now supports perf4j. Please let us know
when the new version of perf4j is released so that we can a
On 21/10/2011 8:15 PM, Stevo Slavić wrote:
Hello Ceki,
Thank you for correcting this, I guess it will be later available when
site gets published again.
Yes, indeed.
perf4j release which supports logback is already available,
http://repo1.maven.org/maven2/org/perf4j/perf4j/0.9.16/
Note
ust as expected.
Is this error message something to be concerned about or am I
receiving it in error?
Thanks,
Paul
Hi Paul,
Have you read http://slf4j.org/codes.html#substituteLogger ?
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing li
.
You have 3 options:
1) use the status manager for internal messages
2) retrieve loggers anew until a real logger instance is returned (and
not an NOPLogger)
3) place your custom appender in another configuration file as
explained in http://slf4j.org/codes.html#substituteLogger
--
Ceki
On 24/10/2011 6
configuration.
--
Ceki
On 24/10/2011 10:17 PM, Paul Gifford wrote:
Thanks Ceki,
I'll update my code to use the status manager.
Regards,
Paul
On Mon, Oct 24, 2011 at 3:05 PM, ceki mailto:c...@qos.ch>>
wrote:
___
Logback-user mailing list
L
Simply move the configuration of your custom appender to another
secondary configuration file. Load this file in a second configuration
step. That's it. You don't have to worry about loggers references by
Spring classes.
--
Ceki
http://twitter.com/#!/ceki
On 24/10/2011 10:45 PM, Pa
ctual question, you most probably have an earlier version
of slf4j on your class path. Check your dependency tree with the
command 'mvn dependency:tree'. Also note that Weld bundles SLF4J
within itself.
--
Ceki
http://twitter.com/#!/ceki
On 25/10/2011 12:34 PM, stlecho wrote:
I'm
the user provides a configuration file but
one which is ill-formed, the previous logic no longer applies.
--
Ceki
http://twitter.com/#!/ceki
On 25/10/2011 2:38 AM, jakartaman wrote:
Hi again
Noticed that logback basically bails out if none the default
configuration resources can be found.
I.e
+Scala projects cannot be run
in Eclipse is rather problematic. It needs to be addressed asap.
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
with your
existing license.
--
Ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
ld or
confirm that repository X builds as is of today?
-Original Message-
From: logback-user-boun...@qos.ch [mailto:logback-user-boun...@qos.ch] On
Behalf Of ceki
Sent: 25. oktober 2011 15:03
To: logback users list
Subject: Re: [logback-user] Building logback when tests fail
On 25/10/2011
tried this, so the Scala plugin might be required after all.)
If you run into trouble, just ask for help here.
On 25/10/2011 8:36 PM, ceki wrote:
Classes ending in STest are tests classes written in Scala. You need to
add the Scala plugin to IDEA and then add Scala facet to the project.
On 25/10
e STest test classes. Actually, working with the
binary has the same effect. Right?
Thanks for your prompt help
That's the least I could do.
/Thorbjørn
--
Ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
The key to building logback under eclipse is to avoid using m2eclipse.
Assuming the Maven nature is disables (no m2eclipse) and after
installing Groovy and Scala plugins for Eclipse, and issuing the 'mvn
eclipse:eclipse" command logback builds under Eclipse.
Enjoy,
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
ims that
Janino can't be found in the classpath, because I'm certain that
janino.jar is in the classpath (and logback 0.9.27 seems to find it).
What changed in 0.9.28 that's causing this? Is it something that I need
to adjust in my own code, or is this a bug in logback?
--
C
On 01/11/2011 11:03 PM, Joel Uckelman wrote:
Thus spake ceki:
Hi Joel,
Which version of Janino is on your class path?
Janino 2.6.1, which I believe is the current release.
For janino 2.6.x, you also need commons-compiler.jar (part of the janino
distribution) on the class path.
--
Ceki
Thanks. I look forward to the adoption of logback by the masses. Just
need to brace for feedback when that happens.
On 01/11/2011 11:43 PM, David Roussel wrote:
Congratulations. I think this will help with the uptake of logback
substantially.
David
On 1 Nov 2011, at 20:47, Paul Gifford mailto
HTH,
--
Ceki
http://twitter.com/#!/ceki
On 03/11/2011 5:47 PM, Scott Dudley wrote:
I just discovered that log rotation fails on Windows if using
ContextJNDISelector. I've tried both FixedWindowRollingPolicy and
TimeBasedRollingPolicy with the same outcome. If I disable JNDI, I lose
the contex
u are going to share the same configuration file.
[1] http://logback.qos.ch/manual/appenders.html#prudent
On 11/03/2011 11:06 AM, ceki wrote:
Hi Scott,
I presume you have already read the link provided in the error:
http://logback.qos.ch/codes.html#renamingError
Which applications write to a
Hi,
The dialect is detected automatically. You don't have to specify it. Try
configuring DBAppender without the ComboPooledDataSource. What happens then?
--
Ceki
http://twitter.com/#!/ceki
On 03/11/2011 3:28 PM, Jordan Blay wrote:
Hi!
I am getting the following errors in the log:
1.
Sorry, I skipped the class loader part of the problem. In any case, you
should really enable prudent mode if you don't want to have garbage in
the shared log file.
On 03/11/2011 9:16 PM, Scott Dudley wrote:
Ceki,
It looks like this will only work if each application loads it's o
appenders writing to the same file (regardless of JVM) requires
the prudent mode.
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
On 11/03/2011 01:47 PM, ceki wrote:
On 03/11/2011 9:37 PM, Scott Dudley wrote:
My understanding from the documentation was that prudent was only
relevant when multiple JVM's were writing to the same log. I have only
one. I also read that it's use (although sometimes a necessity) incu
each appender
mentioned in the config file will be loaded once. No need for prudent
mode in this case.
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
On 03/11/2011 10:07 PM, ceki wrote:
On 03/11/2011 10:02 PM, Scott Dudley wrote:
So clarify for me...
If I have only one set of classes loaded by the servlet engine (Tomcat)
and only one logback.xml file shared among all applications, how do I
have multiple appenders?
Sorry, you are right
yet.
[1] http://logback.qos.ch/manual/layouts.html#customConversionSpecifier
--
Ceki
http://twitter.com/#!/ceki
On 03/11/2011 10:23 PM, Scott Dudley wrote:
I'm using FixedWindowRollingPolicy and the doc says that prudent mode
isn't supported with FixedWindowRollingPolicy
(http://logb
://slf4j.org/api/org/slf4j/spi/MDCAdapter.html
--
Ceki
http://twitter.com/#!/ceki
On 04/11/2011 11:33 AM, Raccoonwao wrote:
Hi all,
I am using logback 0.9.9 with activemq 5.5.1. Right after startup, the
application always encounters an AbstractMethodException in
LogbackMDCAdapter, which is firstly
ead] %logger{35} -
%msg%n%xEx{full}
${CONTEXT_DATA_PATH}/logs/session/session-${SESSION_ID}.%d{-MM-dd}.%i.txt.zip
100MB
Thanks!
-- TJ
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/m
an add new rules on
the fly. See [1] for details. Don't hesitate to ask for help if you
get stuck.
--
Ceki
http://twitter.com/#!/ceki
[1] http://logback.qos.ch/manual/onJoran.html#newRule
On 04/11/2011 3:36 PM, Yoel Spotts wrote:
As described in the manual, one can set logback so that the logb
Glad to hear that your are making progress. If you wish, you could
place your changes in a fork of my github repository [1], then others
might be able to see and benefit from your changes.
[1] https://github.com/ceki/logback/
On 04/11/2011 4:55 PM, Yoel Spotts wrote:
Ceki,
Thanks so much
I'll have another
look at all this tomorrow.
Cheers,
--
Ceki
http://twitter.com/#!/ceki
On 05/11/2011 12:30 AM, TJ Rothwell wrote:
Ceki,
So I gave it a shot.
* CloseTBRP.java
<https://github.com/trothwell/logback-test/blob/master/src/main/java/org/trothwell/lbtest/C
exception when no logging library is
present. You should look into that first.
HTH,
--
Ceki
http://twitter.com/#!/ceki
On 05/11/2011 12:00 PM, Andrew Bourgeois wrote:
Hello
Ceki said my “bug” report isn’t actually a bug, but didn’t have the tell
to tell me what’s wrong:
http://jira.qos.ch/browse
On 05/11/2011 12:47 PM, Andrew Bourgeois wrote:
So to reformulate:
The exception IS thrown when we have SLF4J code
The exception ISN'T thrown when we remove the SLF4J.
That's not what I observe. An exception is thrown in both cases.
--
Ceki
http://twitter.c
sControlException being thrown.
--
Ceki
http://twitter.com/#!/ceki
On 11/5/2011 1:42 PM, Andrew Bourgeois wrote:
Ceki,
I redid the test in a clean Maven project. I don't know if attachments
will pass through, so:
1) pom.xml:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi=&q
ssController.doPrivileged(
new PrivilegedAction() {
public ClassLoader run() {
return clazz.getClassLoader();
}
});
} catch (AccessControlException e) {
return null;
}
}
Not sure if this would solve the problem at hand...
Joern.
On 05.11.2
ClassLoader run() {
return clazz.getClassLoader();
}
});
} catch (AccessControlException e) {
return null;
}
}
Not sure if this would solve the problem at hand...
Joern.
On 05.11.2011, at 16:25, ceki wrote:
Thanks for the sample project. I can confirm t
t would provide
much greater flexibility.
Logback should consider supporting such functionality.
On 11/02/2011 09:54 PM, Steve Cohen wrote:
how would I replace log4j's LoggingEvent.getLocationInformation() in
logback?
--
Ceki
http://twitter.com/#!/ceki
RP.java>
I didn't see a way to close the parent appender's outputstream from my
RollingPolicy. I might have to subclass RollingFileAppender to make this
solution production ready.
I also noted a few other concerns I have in the comments--look for //
FIXME's.
-- TJ
On Fri, N
have missed the page explaining it all, let me know if I did.
Groovy support in logback was tested and built with version Groovy 1.7.
Other than that, there is plenty of Groovy related documentation
available. It would not be reasonable to repeat that information in
logback manuals.
'%i' in the file pattern, the active file on
close would never be compressed. This case could be resolved by
returning true for isTriggeringOnClose.
-- TJ
On Sun, Nov 6, 2011 at 1:01 AM, ceki mailto:c...@qos.ch>>
wrote:
I have not looked at your code very carefully but i
ke the SecurityException in LBCLASSIC-303 go away by
virtue of call reordering. However, it does not explain why invoking
AccessController.doPrivileged changes the behavior of
RMISecurityManger.
Joern.
--
Ceki
http://twitter.com/#!/ceki
___
Logbac
m would be solved in just a few lines of code.
Am I misreading an aspect of the problem?
More below.
--
Ceki
[1] http://goo.gl/ya7XK
On 11/6/2011 7:20 PM, TJ Rothwell wrote:
Ceki,
The compression is the goal. However a feature like rollover on close
would make it easier to implement. The problem
Are properties defined before the appender?
--
Ceki
http://twitter.com/#!/ceki
On 07.11.2011 18:55, Jordan Blay wrote:
Hi!
I have the following appender:
com.mysql.jdbc.Driver
${connection.url
Have you tried adding an "on console listener"?
... the rest of the configuration file
See also [1].
[1] http://logback.qos.ch/manual/configuration.html#statusListener
On 07.11.2011 19:03, Odelya Holiday wrote:
Sure!
On Mon, Nov 7, 2011 at 7:59 PM, ceki wrote:
Are
this class? (The name of the
classes does not sound trivial for adding variables..)
On Mon, Nov 7, 2011 at 8:06 PM, ceki wrote:
Have you tried adding an "on console listener"?
... the rest of the configuration file
See also [1].
[1] http://logback.qos.ch/manual/configur
Encoder
import ch.qos.logback.core.ConsoleAppender
import static ch.qos.logback.classic.Level.DEBUG
//appender("STDOUT", ConsoleAppender) {
// encoder(PatternLayoutEncoder) {
// pattern = "%d{HH:mm:ss.SSS} XXX [%thread] %-5level %logger{36} - %msg%n"
// }
//}
root(DEBUG
You just place logback.groovy file on your class path and it will be
picked up by logback to configure itself much in the same way as
logback.xml files are picked up for configuration. I hope this helps,
--
Ceki
On 09.11.2011 18:57, Tompi Mat wrote:
Hi
Thanks a lot for the prompt reply! What I
les:1.0.0')
What happens when you remove them?
On 09.11.2011 19:26, Tompi Mat wrote:
Hi
Well, this is exactly what does not work as I intended to show in my
original email.
Unless I massively misunderstood something
Tamas
On 11/09/2011 07:20 PM, ceki wrote:
You just place logback.groo
resolve class
ch.qos.logback.core.ConsoleAppender
@ line 2, column 1.
import ch.qos.logback.core.ConsoleAppender
^
Script1.groovy: 4: unable to resolve class ch.qos.logback.classic.Level
@ line 4, column 1.
import static ch.qos.logback.classic.Level.DEBUG
^
--
Ceki
http
end(COLOR_DEFAULT);
return sb.toString();
}
*** snip ***
}
Thanks,
--adam
http://gordonizer.com
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
You should look at what LayoutWrappingEncoder and try to adapt that for
your use case. It's just a guess though.
--
Ceki
http://twitter.com/#!/ceki
On 09.11.2011 22:46, Adam Gordon wrote:
Ahh. Thanks. I will try that. Which encoder should I extend -
LayoutWrapping or PatternL
It's hard to say without looking at the actual code. Can you place your
code in github?
--
Ceki
http://twitter.com/#!/ceki
On 10.11.2011 00:50, Adam Gordon wrote:
That worked. My custom encoder is doing everything I want and more.
For some reason, it looks like Logback is callin
adam.n.gor...@gmail.com <mailto:adam.n.gor...@gmail.com>
http://gordonizer.com
On Nov 9, 2011, at 5:04 PM, ceki wrote:
It's hard to say without looking at the actual code. Can you place
your code in github?
--
Ceki
http://twitter.com/
onfused as to any implicit hierarchy.
--adam
On Nov 10, 2011, at 0:27, ceki wrote:
Are you aware of appender additivity?
http://logback.qos.ch/manual/architecture.html#additivity
http://logback.qos.ch/manual/configuration.html#cumulative
On 10.11.2011 05:44, Adam Gordon wrote:
Here y
On 10.11.2011 17:14, TJ Rothwell wrote:
Ceki,
There was one additional problem I ran into so I'm unable to use the
stock SizeAndTimeBasedFNATP.
computeCurrentPeriodsHighestCounterValue(String) assumes that it will
write to the last index'd value even though it was already compress
On 10.11.2011 17:14, TJ Rothwell wrote:
Ceki,
There was one additional problem I ran into so I'm unable to use the
stock SizeAndTimeBasedFNATP.
computeCurrentPeriodsHighestCounterValue(String) assumes that it will
write to the last index'd value even though it was already compressed
So does compression with SiftingAppender work now?
--
Ceki
http://twitter.com/#!/ceki
On 10.11.2011 18:35, TJ Rothwell wrote:
Done.
http://jira.qos.ch/browse/LBCORE-236
On Thu, Nov 10, 2011 at 11:24 AM, ceki mailto:c...@qos.ch>> wrote:
On 10.11.2011 17:14, TJ Rothwell
s are supported by
SimpleDateFormat. (They might be).
--
Ceki
http://twitter.com/#!/ceki
On 11.11.2011 21:31, TJ Rothwell wrote:
Ceki,
I haven't tested against HEAD yet. But I was tweaking with ,
and it doesn't appear to obey when the filename pattern changes on the
folder. Thi
ic/pattern/ClassOfCallerConverter.html
[3]
http://logback.qos.ch/xref/ch/qos/logback/core/joran/action/ConversionRuleAction.html
--
Ceki
http://twitter.com/#!/ceki
On 05.12.2011 12:26, Christopher BROWN wrote:
Hello,
I've not yet found an answer to my question (I did get some suggestions
back but no solution
ade a MockTransport that I would like to use.
Thanks,
Xavier
SMTPAppenderBase does not take into account mail.transport.protocol.
However, you could modify it to fit your requirements. I suggest
forking and sending a pull request.
Cheers,
--
Ceki
http://twitter.com/#!
yyy-MM-dd}.log
I have a slight preference for the first solution because it involves
less code changes.
Best regards,
Thomas
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
under javaw and not
java? ConsoleAppender could disable itself under javaw.
--
Ceki
http://twitter.com/#!/ceki
On 20.12.2011 18:34, Peter Kullmann wrote:
Hi,
we had a problem with the performance of our application and it boiled down to
very bad performance of the console appender when there
On 20.12.2011 18:50, ceki wrote:
Hi Peter,
If I understand correctly, you have shown that invoking
System.out.println is slow with javaw. Do you know why?
If the reason was known, for example it was due to exceptions being
thrown, ConsoleAppender could address that problem.
Writing to
Hi Nadia,
Do you wish to use logback-audit or logback-classic? Most people use
logback-classic as a replacement for log4j. Logback-audit offers a
different API intended for audit logs (logs which have business
significance).
--
Ceki
http://twitter.com/#!/ceki
On 20.12.2011 20:04, Nadia
Hi Peter,
FYI, running the little application you provided under JDK 1.6.0_23-b05
and Windows 7, I get 4.8 seconds with java and 1.1 seconds under javaw.
I am unable to reproduce the performance problem.
--
Ceki
http://twitter.com/#!/ceki
On 21.12.2011 09:19, Peter Kullmann wrote:
Hi Ceki
On 21.12.2011 10:55, Peter Kullmann wrote:
Hi Ceki,
The problem manifests itself under windows xp. Windows 7 is much better.
I don't see anything actionable to work with here. Ideas?
Peter
--
Ceki
http://twitter.com/#!/ceki
___
Logback
For example, for a daily rollover period, you could have
%d{-MM-dd'T'HH_mm} as the pattern. I don't see such flexibility as
being useful. As such, safety trumps flexibility in this case.
--
Ceki
http://twitter.com/#!/ceki
___
Logback-us
On 21.12.2011 11:39, ceki wrote:
On the other hand, separation allows for patterns with better
prevision.
I meant to write:
On the other hand, separation is more flexible as it allows for
patterns with higher precision.
--
Ceki
http://twitter.com/#!/ceki
true
%d ${HOSTNAME} [%t] %-5p %c - {%marker} %m%n
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
, the performance of log4j ConsoleAppender should be very
similar, although its execution path might be slightly shorter.
Which version of log4j are you using?
--
Ceki
http://twitter.com/#!/ceki
On 21.12.2011 16:04, Peter Kullmann wrote:
I don't know what to do except perhaps warn agains
Logback should have complained about the unknown property. Anyway, let
us know if prudent mode work with NFS. (Prudent mode under NFS was
tested a long time ago and if I remember correctly it worked fine.)
--
Ceki
http://twitter.com/#!/ceki
On 21.12.2011 18:40, thomasschuessl...@eaton.com
to use the logback DBAppender but in the
documentation it says that it logs to a set of 3 specific tables.
Is it possible to change the tables and use some other ones?
No; the table names are hard coded in to the source
(https://github.com/ceki/logback/blob/master/logback-access/src/main/j
On 23.12.2011 11:02, ceki wrote:
Hi Greg,
You are right for logback-access' DBAppender, logback-classic's
DBAppender uses a DBNameResolver where the table names and column names
can be customized.
Forgot to send the link for logback-classic's DBAppender:
http://goo.gl/22nQ
}
}
[1] http://logback.qos.ch/manual/filters.html#TurboFilter
/César.
Cheers,
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
.
HTH,
--
Ceki
[1] http://logback.qos.ch/manual/configuration.html#statusListener
On 03.01.2012 20:26, Greg Silin wrote:
Hi,
I'm trying to setup logback for a fairly simple appender configuration..
DEBUG, INFO, WARN: System.out Console Appender, File Appender
ERROR: System.err Console App
k currently broken - if I can get a link to
it, I'll post this later
[2]
https://github.com/ceki/logback/commit/06a5b692f14560636bd92d7bd7cf1f85830f4e55#diff-4
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
nning unit
tests? Thanks for your help.
From what you describe, I think the log statement for "This is a test"
is being invoked twice.
HTH,
--Matt--
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
h
Hi,
I intend to look into this tomorrow morning.
--
Ceki
http://twitter.com/#!/ceki
On 29.01.2012 17:36, samyem wrote:
I am facing the exact same issue. The upgrade stopped sending emails for me
as well. For some reason, the Runnable class SMTPAppender's "run" method
never g
Hi Sean,
The on console status listener [1] should give you more information as
to what is going on. Just add the following line just after the
element in your top-most config file, i.e. logon.xml.
HTH,
--
Ceki
[1] http://logback.qos.ch/manual/configuration.html#statusListener
On
2
I am continuing to investigate.
--
Ceki
http://twitter.com/#!/ceki
On 31.01.2012 13:35, Thorbjørn Ravn Andersen wrote:
Hi.
Just ran into this bug as well (Java 1.5, logback 1.0.0, Windows 7).
It appears that the code in SMTPAppenderBase
if (eventEvaluator.evaluate(eventObject)) {
Hi Alex,
I am investigating this issue. In the mean time, please add an
OnConsoleStatusListener to the top of your config file.
This will print error messages occurring after configuration.
--
Ceki
http://twitter.com/#!/ceki
On 02.03.2012 18:46, Alex Glass wrote:
I'm t
hat within the
new bug report.
Cheers,
[1] https://github.com/ceki/logback/commit/26a0a37c
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
/mailman/listinfo/announce
Enjoy,
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
ond? What is the
TPS interval when we talk about "moderate frequency"?
I think 1000 MDC modifications should be OK. Look at LogbackMDCAdapter
[1] for details.
Cheers,
[1]
http://logback.qos.ch/xref/ch/qos/logback/classic/util/LogbackMDCAdapter.html
--
Ceki
ppreciated.
Thanks!
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
,
--
Ceki
http://twitter.com/#!/ceki
On 11.04.2012 16:57, Ingebrigt Berg wrote:
Hi again.
As suggested I've implemented a POC on how SyslogAppender could be
fixed, and have got it working. It resolves our issue. With the changes
I made, the stacktrace lines can be prefixed as required, and wit
provided useful information as to the origin of the problem. I wonder
why OnConsoleStatusListener did not work as it should have.
--
Ceki
http://twitter.com/#!/ceki
On 11.04.2012 17:41, Y M wrote:
Hi,
Just discovered my mistake... my 'log_dir' was missing scope definition,
the break
FYI, I just commented on https://github.com/ceki/logback/pull/42
On 12.04.2012 15:20, Ingebrigt Berg wrote:
Done.
Credit where credit is due, it was actually my coworker Marius Eikenes
that proposed this way of fixing the problem.
Thanx for looking into this, it's much appreciated.
c
done.
HTH,
--
Ceki
http://twitter.com/#!/ceki
On 13.04.2012 02:17, Dan Cripe wrote:
Unfortunately that won't fly either. Config file is embedded in the
package and the system is tightly locked down. We need to be able to
change it via some remote mechanism - HTTP, JMX etc.
Sent from my i
Hi Arsene,
GafferConfigurator (the groovy configurator in logback) does not support
appender-ref elements. Please enter a jira issue so that we can track
this omission.
Best regards,
--
Ceki
http://twitter.com/#!/ceki
On 17.04.2012 09:52, Arsene Lee wrote:
Hi,
I’m using Logback with
create your own
discriminator class which merges the values for MDC keys parent and node
into ${parent}/${node}. Just emulate the code in MDCBasedDiscriminator
[1]. If you run into trouble ask for help here.
HTH,
[1] http://goo.gl/9KWxK
--
Ceki
http://twitter.com/#!/ceki
_
On 19.04.2012 15:05, Dario Campagna wrote:
Hi Ceki,
[cut]
Sifting appenders cannot be nested. The error messages don't make much
sense. Probably due to the fact that sifting appenders cannot be nested.
Ok.
[cut]
Anyway, instead of nesting sifting appender, you should create you
pIds log by emitting
their groupId as the last parameter (with no corresponding '{}').
HTH,
[1] http://logback.qos.ch/manual/layouts.html#customConversionSpecifier
Regards,
/George
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
/mailman/listinfo/announce
Enjoy,
--
Ceki
http://twitter.com/#!/ceki
___
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
1 - 100 of 1122 matches
Mail list logo