[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slf4j-user
Subject:    Re: [slf4j-user] Disabling QuickFIX/J logging
From:       Túlio Guimarães <fx.tulio () gmail ! com>
Date:       2020-05-05 6:05:49
Message-ID: CAJQrtEpoMwiUnW+EJj0BnEZc9-VD103hnoH=5M6LNSCLtJdcsQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hey guys, so I've been in touch with the broker I am connected to and the
Logger class was hardcoded to the API they provide that is why I could not
find any config file.

So, for now I created a dumb logger and passed as argument so no message
log is created.

Thank you for the support.

See ya!

On Tue, May 5, 2020 at 5:35 AM Túlio Guimarães <fx.tulio@gmail.com> wrote:

> Hi Matt and Joachim, thank you for the feedback.
>
> I am looking for any configuration file that allows me to disable the
> logging hehehe but I could not find any.
>
> My application is not running inside any container, it's just a bunch of
> jar files and a call to java on command line, then the app starts to listen
> to online quotes and the messages are flushed to a log file (that I wanna
> remove).
>
> Thank you for the information, I'll search a little more and repost if
> necessary.
>
> Regards.
>
> On Mon, May 4, 2020 at 8:05 PM Joachim Durchholz <jo@durchholz.org> wrote:
>
>> Am 04.05.20 um 16:25 schrieb Túlio Guimarães:
>> > Hi guys,
>> >
>> > So I've been looking for a way to disable quickfix/j logging but I
>> could
>> > not find anything helpful so far (my fault).
>>
>> SLF4J is just a common API for applications that want to write log
>> messages.
>>
>> If everything is done according to best practices, you'll have:
>>
>> 1) A logging backend (Logback, Commons Logging, java.util.logging,
>> whatever).
>> 2) SLF4J.
>> 3) The quickfix/j library.
>> 4) Your application, possibly inside a web container (e.g. Tomcat).
>>
>> Level 4 configures what backend is in use at level 1, and at what detail
>> level everything is being logged.
>>
>> Since you're asking on the SLF4J mailing list and talk about quickfix/j,
>> I am assuming that quickfix/j is indeed doing just SLF4J calls, and the
>> real backend is configured at level 4.
>> So you'll have to look at the logging configuration in level 4 to
>> determin what backend is in use, then look at the backend docs to find
>> out how it is being configured, then look into the configuration in
>> level 4 which gets interpreted by level 1.
>>
>> Hope this helps.
>>
>> Regards,
>> Jo
>> _______________________________________________
>> slf4j-user mailing list
>> slf4j-user@qos.ch
>> http://mailman.qos.ch/mailman/listinfo/slf4j-user
>
>
>
> --
> Abração!
> Tuio.
>


-- 
Abração!
Tuio.

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hey guys, so I&#39;ve been in touch with the broker I am \
connected to and the Logger class was hardcoded to the API they provide that is why I \
could not find any config file.</div><div><br></div><div>So, for now I created a dumb \
logger and passed as argument so no message log is \
created.</div><div><br></div><div>Thank you for the \
support.</div><div><br></div><div>See ya!<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 5, 2020 at 5:35 AM \
Túlio Guimarães &lt;<a href="mailto:fx.tulio@gmail.com">fx.tulio@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi \
Matt and Joachim, thank you for the feedback.</div><div><br></div><div>I am looking \
for any configuration file that allows me to disable the logging hehehe but I could \
not find any.<br></div><div><br></div><div>My application is not running inside any \
container, it&#39;s just a bunch of jar files and a call to java on command line, \
then the app starts to listen to online quotes and the messages are flushed to a log \
file (that I wanna remove).</div><div><br></div><div>Thank you for the information, \
I&#39;ll search a little more and repost if \
necessary.</div><div><br></div><div>Regards.<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 4, 2020 at 8:05 PM \
Joachim Durchholz &lt;<a href="mailto:jo@durchholz.org" \
target="_blank">jo@durchholz.org</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Am 04.05.20 um 16:25 schrieb Túlio \
Guimarães:<br> &gt; Hi guys,<br>
&gt; <br>
&gt; So I&#39;ve been looking for a way to disable quickfix/j logging but I could \
<br> &gt; not find anything helpful so far (my fault).<br>
<br>
SLF4J is just a common API for applications that want to write log messages.<br>
<br>
If everything is done according to best practices, you&#39;ll have:<br>
<br>
1) A logging backend (Logback, Commons Logging, java.util.logging, <br>
whatever).<br>
2) SLF4J.<br>
3) The quickfix/j library.<br>
4) Your application, possibly inside a web container (e.g. Tomcat).<br>
<br>
Level 4 configures what backend is in use at level 1, and at what detail <br>
level everything is being logged.<br>
<br>
Since you&#39;re asking on the SLF4J mailing list and talk about quickfix/j, <br>
I am assuming that quickfix/j is indeed doing just SLF4J calls, and the <br>
real backend is configured at level 4.<br>
So you&#39;ll have to look at the logging configuration in level 4 to <br>
determin what backend is in use, then look at the backend docs to find <br>
out how it is being configured, then look into the configuration in <br>
level 4 which gets interpreted by level 1.<br>
<br>
Hope this helps.<br>
<br>
Regards,<br>
Jo<br>
_______________________________________________<br>
slf4j-user mailing list<br>
<a href="mailto:slf4j-user@qos.ch" target="_blank">slf4j-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/slf4j-user" rel="noreferrer" \
target="_blank">http://mailman.qos.ch/mailman/listinfo/slf4j-user</a></blockquote></div><br \
clear="all"><br>-- <br><div dir="ltr">Abração!<br>Tuio.<br></div> \
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" \
class="gmail_signature">Abração!<br>Tuio.<br></div>


[Attachment #6 (text/plain)]

_______________________________________________
slf4j-user mailing list
slf4j-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic