>       From: owner-openssl-us...@openssl.org On Behalf Of Anil Tambe
>       Sent: Thursday, 07 May, 2009 03:14

Note: this is (mostly?) a -users question not -dev where you also posted.

>               How do we configure debug level / log level in openssl ? 
> is there any way by setting which i can get more information in the logs ?

The openssl library itself does not normally log anything. It has API calls 
to return error info that an application can and usually should log, and 
optional callbacks an application may use to get some additional
information. 
How to get an application to do this more, differently, or at all depends 
on that application. In general you will need to look at documentation for 
or talk to experts on that application, although if it is a commonly used
one 
and you identify it, someone here might happen to know about it.

There are a few debug options that enable bits of output here and there
that some developer found useful. If you are debugging a problem in a 
particular area of the code you will already see them; if not, the chance 
that they will be useful for some problem you have is negligible.

Some openssl utilities like s_client and s_server have options to 
display various information as they run. See the man page(s) or use 
  openssl <command> -? 
to get a brief description of the options. In particular if you are having 
trouble connecting to a given server or from a given client, using 
s_client or s_server respectively on the other end can tell you about 
what is happening (or going wrong) even if your real application(s) won't.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to