<br><br><div class="gmail_quote">On Fri, Oct 21, 2011 at 3:23 PM, Miklos Espak <span dir="ltr"><<a href="mailto:espakm@gmail.com">espakm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<p>Hi,</p>
<p>I just wanted to see the messages that are logged from inside CTK. As I see that has nothing to do with the options that I enabled in CMake. I do not intend to use the CTK logging framework in my application. I found a bug in the workflow framework (I reported it today), </p>

</blockquote><div>Thanks for taking the time to report the issue :)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><p>and I wanted to locate it, that's why I wanted to see the messages that are sent to a ctkLogger from the ctkWorkflow class. </p>

</blockquote><div>You could try the following: "ctkLogger::configure();" at the top of your main() function. Similarly to what's done here: <a href="https://github.com/Slicer/Slicer/blob/master/Applications/SlicerQT/Main.cxx#L240">https://github.com/Slicer/Slicer/blob/master/Applications/SlicerQT/Main.cxx#L240</a><br>

<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<p>You can see them somehow, right? ;-)<br>
That is not related to the experimental logging plugin, or is it? Sorry, if I was not clear.</p></blockquote><div>It's not related to the plugin in any way. <br><br>Jc<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<p>Thanks,<br><font color="#888888">
Miklos</font></p><div><div></div><div class="h5">
<div class="gmail_quote">On 2011.10.21. 20:57, "Jean-Christophe Fillion-Robin" <<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi Miklos, <br><br>Thanks for looking into the logging system.<br><br>Log4Qt being a mandatory dependency of CTK, if you are talking about "CTK_PLUGIN_org.commontk.log4qt". This is an "experimental" plugin that should probably be removed. Sasha would be able to comment about that.<br>




<br>The logging framework has been introduced during the first hackfest when we initiated the CTK project and require some love and attention. <br><br>I already had a quick look in the past but didn't make any progress.<br>




<br>We would appreciate your help regarding log4qt. <br><br>Thanks<br>Jc<br><br><div class="gmail_quote">On Fri, Oct 21, 2011 at 1:06 PM, Miklos Espak <span dir="ltr"><<a href="mailto:espakm@gmail.com" target="_blank">espakm@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<div><br></div><div>how to enable logging in CTK?</div><div>I enabled the Log4Qt option in CTK and rebuilt it, but it is apparently not enough. Do I have to create a config file? The syntax is like for Log4J?</div>




<div>

<br></div><div>Thanks,</div><div>Miklos</div>
<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br><br>
</blockquote></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>