~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/erl_interface/doc/src/ei_connect.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
619
619
        <p>These are convenience functions for some common name lookup functions.</p>
620
620
      </desc>
621
621
    </func>
 
622
    <func>
 
623
      <name><ret>int</ret><nametext>ei_get_tracelevel(void)</nametext></name>
 
624
      <name><ret>void</ret><nametext>ei_set_tracelevel(int level)</nametext></name>
 
625
      <fsummary>Get and set functions for tracing.</fsummary>
 
626
      <desc>
 
627
        <p>These functions are used to set tracing on the distribution. The levels are different verbosity levels. A higher level means more information.
 
628
        See also Debug Information and <c><![CDATA[EI_TRACELEVEL]]></c> below. </p>
 
629
        <p> <c><![CDATA[ei_set_tracelevel]]></c> and <c><![CDATA[ei_get_tracelevel]]></c> are not thread safe.  </p>
 
630
      </desc>
 
631
    </func>
622
632
  </funcs>
623
633
 
624
634
  <section>
634
644
      <item>the environment variable <c><![CDATA[ERL_EPMD_PORT]]></c>
635
645
       is set correctly.</item>
636
646
    </list>
 
647
    <p>The connection attempt can be traced by setting a tracelevel by either using
 
648
    <c><![CDATA[ei_set_tracelevel]]></c> or by setting the environment variable <c><![CDATA[EI_TRACELEVEL]]></c>.
 
649
    The different tracelevels has the following messages:</p>
 
650
    <list>
 
651
        <item>1: Verbose error messages</item>
 
652
        <item>2: Above messages and verbose warning messages </item>
 
653
        <item>3: Above messages and progress reports for connection handling</item>
 
654
        <item>4: Above messages and progress reports for communication</item>
 
655
        <item>5: Above messages and progress reports for data conversion</item>
 
656
    </list>
637
657
  </section>
 
658
 
638
659
</cref>
639
660