* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy-main.cpp,v 1.24 2003-10-23 13:00:35 adam Exp $
+ * $Id: yaz-proxy-main.cpp,v 1.25 2003-10-23 13:49:58 adam Exp $
*/
#include <signal.h>
}
if (addr)
{
+ yaz_log(LOG_LOG, "Starting proxy pid=%ld", (long) getpid());
if (proxy->server(addr))
{
yaz_log(LOG_FATAL|LOG_ERRNO, "listen %s", addr);
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-proxy.cpp,v 1.67 2003-10-23 11:45:08 adam Exp $
+ * $Id: yaz-proxy.cpp,v 1.68 2003-10-23 13:49:58 adam Exp $
*/
#include <assert.h>
other++;
}
}
- yaz_log(LOG_LOG, "%s pre-init %s %s use=%d other=%d spare=%d preinit=%d",
+ yaz_log(LOG_LOG, "%s pre-init%s %s use=%d other=%d spare=%d preinit=%d",
m_session_str,
name, zurl_in_use[j], in_use, other, spare, pre_init);
if (spare < pre_init)
int r = Yaz_Z_Assoc::server(addr);
if (!r)
{
- yaz_log(LOG_LOG, "%sStarted proxy on %s", m_session_str, addr);
+ yaz_log(LOG_LOG, "%sStarted listener on %s", m_session_str, addr);
timeout(1);
}
return r;
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-z-assoc.cpp,v 1.30 2003-10-23 11:45:08 adam Exp $
+ * $Id: yaz-z-assoc.cpp,v 1.31 2003-10-23 13:49:58 adam Exp $
*/
#include <assert.h>
odr_setprint(m_odr_print, yaz_log_file());
z_APDU(m_odr_print, &apdu, 0, "decode");
m_APDU_file = save;
+ odr_setprint(m_odr_print, save);
}
if (m_APDU_file)
{
odr_setprint(m_odr_print, yaz_log_file()); // use YAZ log FILE
z_APDU(m_odr_print, &apdu, 0, "encode");
m_APDU_file = save;
+ odr_setprint(m_odr_print, save);
}
if (m_APDU_file)
{