[logback-user] Log Filtering base on issuing class (%C)
Gonzalo Vasquez
gvasquez at altiuz.cl
Wed May 30 22:14:07 CEST 2012
Strange, but I'll check as I'm getting the following kind of messages:
16:09:35,447 INFO [STDOUT] 2012-05-30 16:09:35.447 [RMI TCP Connection(4)-127.0.0.1] QueryResultImpl $logger retrieved ScoreNodes in 0 ms (0)
16:09:35,448 INFO [STDOUT] 2012-05-30 16:09:35.447 [RMI TCP Connection(4)-127.0.0.1] SessionState $logger Performed query.execute(//folders/folder[@name='Tarjeta de Crédito - Santander']) in 9730000us
16:09:35,448 INFO [STDOUT] 2012-05-30 16:09:35.448 [RMI TCP Connection(4)-127.0.0.1] QueryImpl $logger executed in 10 ms. (//folders/folder[@name='Tarjeta de Crédito - Santander'])
16:09:35,453 INFO [STDOUT] 2012-05-30 16:09:35.452 [RMI TCP Connection(4)-127.0.0.1] SessionState $logger Performing org.apache.jackrabbit.core.query.lucene.NodeIteratorImpl$FetchNext at 2f2a4f3e
16:09:35,453 INFO [STDOUT] 2012-05-30 16:09:35.453 [RMI TCP Connection(4)-127.0.0.1] QueryResultImpl $logger getResults(2147483647) limit=-1
16:09:35,453 INFO [STDOUT] 2012-05-30 16:09:35.453 [RMI TCP Connection(4)-127.0.0.1] TermDocsCache $logger #2 TermDocs(_:PROPERTIES,0:name[Tarjeta de Crédito - Santander)
16:09:35,454 INFO [STDOUT] 2012-05-30 16:09:35.454 [RMI TCP Connection(4)-127.0.0.1] TermDocsCache $logger #2 TermDocs(_:PROPERTIES,0:name[Tarjeta de Crédito - Santander)
16:09:35,455 INFO [STDOUT] 2012-05-30 16:09:35.454 [RMI TCP Connection(4)-127.0.0.1] QueryResultImpl $logger query executed in 1 ms (2)
16:09:35,455 INFO [STDOUT] 2012-05-30 16:09:35.455 [RMI TCP Connection(4)-127.0.0.1] QueryResultImpl $logger retrieved ScoreNodes in 0 ms (0)
16:09:35,455 INFO [STDOUT] 2012-05-30 16:09:35.455 [RMI TCP Connection(4)-127.0.0.1] SessionState $logger Performed org.apache.jackrabbit.core.query.lucene.NodeIteratorImpl$FetchNext at 2f2a4f3e in 2086000us
16:09:35,456 INFO [JRabbitConnector] Creating connector, reading from: /ALTIUZ-REPORTS/CARTOLAS/CARTOLA_CTAVISTA_CORPBANCA/reports-cvista_corpbanca-cfg.xml
16:09:35,463 INFO [STDOUT] 2012-05-30 16:09:35.462 [RMI TCP Connection(4)-127.0.0.1] SessionState $logger Performing node.createQuery(//folders/folder[@name='Cuenta Vista - Corpbanca'], xpath)
16:09:35,464 INFO [STDOUT] 2012-05-30 16:09:35.463 [RMI TCP Connection(4)-127.0.0.1] SessionState $logger Performed node.createQuery(//folders/folder[@name='Cuenta Vista - Corpbanca'], xpath) in 640000us
16:09:35,466 INFO [STDOUT] 2012-05-30 16:09:35.465 [RMI TCP Connection(4)-127.0.0.1] SessionState $logger Performing query.execute(//folders/folder[@name='Cuenta Vista - Corpbanca'])
16:09:35,466 INFO [STDOUT] 2012-05-30 16:09:35.466 [RMI TCP Connection(4)-127.0.0.1] QueryImpl $logger Executing query:
Using this pattern:
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
So it seems that $logger is the logger name, isn't it?
Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (R&D)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes
(56-2) 335 2461
gvasquez at altiuz.cl
http://www.altiuz.cl
El 30-05-2012, a las 16:03, ceki escribió:
> On 30.05.2012 21:49, Gonzalo Vasquez wrote:
>> I've already tried that approach, but the problem is that there seems to
>> be a single JackRabbit logger named 'logger$', or am I wrong?
>>
>> Gonzalo Vásquez Sáez
>
> Looking at the source code, JackRabbit has one logger per class named after the class following the common SLF4J/log4j paradigm.
>
> --
> Ceki
> http://twitter.com/#!/ceki
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120530/6f72d04e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Firma_medio ambiente_mail.jpg
Type: image/jpeg
Size: 41737 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120530/6f72d04e/attachment-0001.jpg>
More information about the Logback-user
mailing list