<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>921</bug_id>
          
          <creation_ts>2013-12-08 19:11:46 +0100</creation_ts>
          <short_desc>Logging should be used instead of system out/err calls</short_desc>
          <delta_ts>2015-09-27 03:14:53 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>General</product>
          <component>source_code</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Brahim Djoudi">jolkdarr</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs>21d6cfafdc088e75981d710c672a668fddfdf298</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3444</commentid>
    <comment_count>0</comment_count>
    <who name="Brahim Djoudi">jolkdarr</who>
    <bug_when>2013-12-08 19:11:46 +0100</bug_when>
    <thetext>A logging framework (SLF4J or Java Logging) should be used to log messages.
Applications using JOGAMP libraries would produce consistent messages by means of a unique controllable logging framework.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3449</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-11 01:54:01 +0100</bug_when>
    <thetext>(In reply to comment #0)
&gt; A logging framework (SLF4J or Java Logging) should be used to log messages.
&gt; Applications using JOGAMP libraries would produce consistent messages by
&gt; means of a unique controllable logging framework.

If you like to do so .. you may go ahead.
However, no extra [external] dependency shall be created
_and_ the costs [performance/footprint] shall be minimal.

This is a biggy .. w/ questionable results IMHO,
since we only enable this logging for DEBUG cases.
You may also consider that native DEBUG code also uses stderr.

Current State: All DEBUG code uses the stderr channel ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3464</commentid>
    <comment_count>2</comment_count>
    <who name="Brahim Djoudi">jolkdarr</who>
    <bug_when>2013-12-12 21:46:38 +0100</bug_when>
    <thetext>Hi Sven

Thank you for the advice.
I agree with you: the processing of the entire library to replace all stderr debug output is a significant task. Only the most important messages should be logged. First, I only need to disable debug outputs produced by default.
This weekend, I intend to browse the code of the JOGL library (included in my project) to have a better idea of the required work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3481</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-18 22:27:59 +0100</bug_when>
    <thetext>(In reply to comment #2)
&gt; First, I only need to disable debug outputs produced by default.

There should be none, ofc.

But if those still exist, it&apos;s an orthogonal issue, i.e. shall be fixed
by adding the typical &apos;if(DEBUG) { }&apos; while still using stderr.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3483</commentid>
    <comment_count>4</comment_count>
    <who name="Brahim Djoudi">jolkdarr</who>
    <bug_when>2013-12-18 22:52:16 +0100</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)

I got errors from the class FPSAnimator.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3620</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-01-22 20:31:53 +0100</bug_when>
    <thetext>21d6cfafdc088e75981d710c672a668fddfdf298
  FPSAnimator debug output on stderr shall happen only if DEBUG is enabled</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>