Stefan Fuhrmann wrote on Tue, 27 Apr 2010 at 02:45 +0200: > Philip Martin wrote: > > > > > + if (cache->partial_page == NULL) > > > + { > > > + /* You pinned too many entries. Fix that! */ > > > + svn_error_t *svn_warning = + > > > svn_error_create(SVN_ERR_INPROCCACHE_OVERFLOW, + > > > NULL, > > > + _("Cache overflow. Too many entries > > > pinned.")); > > > + > > > + svn_handle_warning2(stderr, svn_warning, "svn-debug: "); > > > + svn_error_clear (svn_warning); > > > > > > > We don't want the libraries to use stderr. > > > I couldn't find an example for how to log debug messages. > Can you give me a pointer? >
svn_fs_set_warning_func()? (and I note that an svn_cache__set_error_handler() already exists, though is not exactly parallel)