Re: Debug logs

Anton Bobrov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
Bhawna wrote:
>     /* Unconditional log entry  */
> 	LDAPDebug( LDAP_DEBUG_TRACE, "ldap_perror\n", 0, 0, 0 );

i'm not sure what this line is for in your case. all you have to
do is set relevant LDAP/LBER options as in example provided.

> Please let me know is it all that is needed. If yes, where will this
> log file be created.

flushed to where your stderr directed, redirect your stderr to
a regular file if you want it in a file.

> Can you please suggest some link for Mozilla, where all about logging
> is documented.

i dont recall it actually being described in the docs or wiki,
plz feel free to correct me or contribute to wiki otherwise.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.