2001-09-02
2001-09-02 16:10:45 by Martin Stjernholm <mast@lysator.liu.se>
-
4eb319d430b95d43ca15d49bf59f0125b579098f
(12 lines)
(+9/-3)
[
Show
| Annotate
]
Branch: 5.2
Only log decode problems when DEBUG is defined.
Rev: server/base_server/roxen.pike:1.723
6:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.
// ABS and suicide systems contributed freely by Francesco Chemolli
- constant cvs_version="$Id: roxen.pike,v 1.722 2001/08/31 11:18:29 grubba Exp $";
+ constant cvs_version="$Id: roxen.pike,v 1.723 2001/09/02 16:10:45 mast Exp $";
// The argument cache. Used by the image cache.
ArgCache argcache;
572: Inside #if defined(THREADS)
{
if(q=catch {
do {
+ // if (!busy_threads) werror ("GC: %d\n", gc());
THREAD_WERR("Handle thread ["+id+"] waiting for next event");
if(arrayp(h=handle_queue->read()) && h[0]) {
THREAD_WERR(sprintf("Handle thread [%O] calling %O(%{%O, %})",
4267:
return compiled_formats[fmt] =
decode_value( tmp[0]->enc, master()->MyCodec() )()->log;
};
- report_debug("Decoding of dumped log-format failed.\n%s\n",
+ #ifdef DEBUG
+ report_debug("Decoding of dumped log format failed:\n%s",
describe_backtrace(err));
-
+ #endif
}
array parts = fmt/"$";
string format = parts[0];
4544:
mixed err = catch {
return decode_value( tmp[0]->enc, master()->MyCodec() )()->log;
};
- report_debug("Decoding of dumped log-format failed.\n%s\n",
+ #ifdef DEBUG
+ report_debug("Decoding of dumped log format failed:\n%s",
describe_backtrace(err));
-
+ #endif
}