carnold | 7 Sep 2006 20:00
Picon
Favicon

svn commit: r441160 - in /logging/log4cxx/trunk: ./ docs/ xdocs/ xdocs/src/manual/ xdocs/src/stylesheets/ xdocs/www/

Author: carnold
Date: Thu Sep  7 11:00:44 2006
New Revision: 441160

URL: http://svn.apache.org/viewvc?view=rev&rev=441160
Log:
LOGCXX-153: Automate log4cxx site and manual build and deployment

Added:
    logging/log4cxx/trunk/LICENSE
    logging/log4cxx/trunk/NOTICE
    logging/log4cxx/trunk/xdocs/src/stylesheets/site.css
Removed:
    logging/log4cxx/trunk/.cvsignore
    logging/log4cxx/trunk/license.apl
    logging/log4cxx/trunk/xdocs/build.xml
    logging/log4cxx/trunk/xdocs/src/manual/
    logging/log4cxx/trunk/xdocs/www/
Modified:
    logging/log4cxx/trunk/   (props changed)
    logging/log4cxx/trunk/apr-build.xml
    logging/log4cxx/trunk/aprutil-build.xml
    logging/log4cxx/trunk/build.xml
    logging/log4cxx/trunk/cppunit-build.xml
    logging/log4cxx/trunk/docs/   (props changed)
    logging/log4cxx/trunk/docs/Doxyfile.in
    logging/log4cxx/trunk/xdocs/src/stylesheets/project.xml

Propchange: logging/log4cxx/trunk/
------------------------------------------------------------------------------
(Continue reading)

carnold | 7 Sep 2006 20:08
Picon
Favicon

svn commit: r441161 - /logging/log4cxx/trunk/build.xml

Author: carnold
Date: Thu Sep  7 11:08:20 2006
New Revision: 441161

URL: http://svn.apache.org/viewvc?view=rev&rev=441161
Log:
LOGCXX-62: Change version to 0.10.0, include MSVC 6 project files in dist

Modified:
    logging/log4cxx/trunk/build.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?view=diff&rev=441161&r1=441160&r2=441161
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Thu Sep  7 11:08:20 2006
 <at>  <at>  -59,7 +59,7  <at>  <at> 
 <property name="doxygen.exe" value="doxygen"/>
 <property name="enable_dot" value="YES"/>

-<property name="version" value="0.9.8"/>
+<property name="version" value="0.10.0"/>
 <property name="rtti" value="false"/>
 <property name="optimize" value="none"/>
 <property name="lib.type" value="shared"/>
 <at>  <at>  -697,7 +697,8  <at>  <at> 
 <target name="build" depends="build-aprutil, configure" description="Build log4cxx library">
     <mkdir dir="${log4cxx.lib.dir}/log4cxx_obj"/>

-    <cc name="${compiler}"
(Continue reading)

carnold | 8 Sep 2006 00:03
Picon
Favicon

svn commit: r441251 - in /logging/log4cxx/trunk: ./ docs/ examples/ include/ include/log4cxx/ include/log4cxx/config/ include/log4cxx/db/ include/log4cxx/helpers/ include/log4cxx/net/ include/log4cxx/nt/ include/log4cxx/rolling/ include/log4cxx/spi/ in...

Author: carnold
Date: Thu Sep  7 15:03:36 2006
New Revision: 441251

URL: http://svn.apache.org/viewvc?view=rev&rev=441251
Log:
LOGCXX-62: Remove stray .cvsignore, include *.m4, performance.xml in dist

Removed:
    logging/log4cxx/trunk/docs/.cvsignore
    logging/log4cxx/trunk/examples/.cvsignore
    logging/log4cxx/trunk/include/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/config/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/db/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/helpers/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/net/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/nt/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/rolling/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/spi/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/spi/location/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/varia/.cvsignore
    logging/log4cxx/trunk/include/log4cxx/xml/.cvsignore
    logging/log4cxx/trunk/performance/.cvsignore
    logging/log4cxx/trunk/performance/xml/.cvsignore
    logging/log4cxx/trunk/simplesocketserver/.cvsignore
    logging/log4cxx/trunk/tests/.cvsignore
    logging/log4cxx/trunk/tests/input/.cvsignore
    logging/log4cxx/trunk/tests/input/xml/.cvsignore
    logging/log4cxx/trunk/tests/src/.cvsignore
(Continue reading)

carnold | 8 Sep 2006 00:13
Picon
Favicon

svn commit: r441255 - /logging/log4cxx/trunk/build.xml

Author: carnold
Date: Thu Sep  7 15:13:51 2006
New Revision: 441255

URL: http://svn.apache.org/viewvc?view=rev&rev=441255
Log:
LOGCXX-62: Eliminate duplicate .am files in archives

Modified:
    logging/log4cxx/trunk/build.xml

Modified: logging/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/build.xml?view=diff&rev=441255&r1=441254&r2=441255
==============================================================================
--- logging/log4cxx/trunk/build.xml (original)
+++ logging/log4cxx/trunk/build.xml Thu Sep  7 15:13:51 2006
 <at>  <at>  -1380,7 +1380,6  <at>  <at> 
             <include name="INSTALL"/>
             <include name="NOTICE"/>
             <include name="LICENSE"/>
-            <include name="Makefile.am"/>
             <include name="NEWS"/>
             <include name="README"/>
             <include name="STATUS"/>
 <at>  <at>  -1421,6 +1420,9  <at>  <at> 
             <exclude name="lib/apr-util-${aprutil.version}/include/apuwant.h"/>
             <exclude name="lib/apr-util-${aprutil.version}/include/private/*.h"/>
             <exclude name="**/.svn"/>
+            <exclude name="**/*.m4"/>
+            <exclude name="**/*.am"/>
(Continue reading)

afester | 11 Sep 2006 21:55
Picon
Favicon

svn commit: r442313 - /logging/log4cxx/trunk/Makefile.am

Author: afester
Date: Mon Sep 11 12:55:26 2006
New Revision: 442313

URL: http://svn.apache.org/viewvc?view=rev&rev=442313
Log:
LOGCXX-62: reflect removal of license.apl in Makefile.am

Modified:
    logging/log4cxx/trunk/Makefile.am

Modified: logging/log4cxx/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/Makefile.am?view=diff&rev=442313&r1=442312&r2=442313
==============================================================================
--- logging/log4cxx/trunk/Makefile.am (original)
+++ logging/log4cxx/trunk/Makefile.am Mon Sep 11 12:55:26 2006
 <at>  <at>  -1,2 +1,2  <at>  <at> 
 SUBDIRS = docs src include simplesocketserver tests performance examples
-EXTRA_DIST = autogen.sh aclocal.m4 license.apl find_apr.m4 find_apu.m4 build.xml apr-build.xml
aprutil-build.xml cppunit-build.xml apr-bug-39848.patch apr-bug-39852.patch
apr-bug-39853.patch apr-bug-39856.patch apr-bug-39857.patch apr-bug-39858.patch
apr-bug-39859.patch apr-bug-39867.patch apr-bug-39868.patch apr-bug-39869.patch
apr-bug-39884.patch apr-bug-39886.patch apr-bug-39888.patch apr-bug-39889.patch
apr-bug-39892.patch apr-bug-39895.patch apr-bug-39896.patch
+EXTRA_DIST = autogen.sh aclocal.m4 find_apr.m4 find_apu.m4 build.xml apr-build.xml
aprutil-build.xml cppunit-build.xml apr-bug-39848.patch apr-bug-39852.patch
apr-bug-39853.patch apr-bug-39856.patch apr-bug-39857.patch apr-bug-39858.patch
apr-bug-39859.patch apr-bug-39867.patch apr-bug-39868.patch apr-bug-39869.patch
apr-bug-39884.patch apr-bug-39886.patch apr-bug-39888.patch apr-bug-39889.patch
apr-bug-39892.patch apr-bug-39895.patch apr-bug-39896.patch
(Continue reading)

Curt Arnold | 14 Sep 2006 19:47
Picon
Favicon

ApacheCON US 2006

ApacheCON US 2006 (http://www.apachecon.com) will be held on October  
9-13 in Austin, TX.  Registration prices increase yet again tomorrow  
and hotel reservations should be made soon to take advantage of the  
special conference room rates.  I've tentatively scheduled a Logging  
Services BOF for Thursday night (http://wiki.apache.org/apachecon/ 
BirdsOfaFeatherUs06) and plan to be at the Hackathon on Monday and  
Tuesday.

If you have specific topics that you'd like to discuss at ApacheCON  
or other suggestions, please post them on  
general <at> logging.apache.org.  Hope to see some of you there. 

Andreas Fester | 14 Sep 2006 22:16
Picon
Favicon

Re: Which effort would it be to make SocketAppender run?

Hi,

which code do you actually refer to? In the current SVN HEAD, the
socketappender.cpp and socketoutputstream.cpp do not contain any
disabled code (only some debug output is commented out).
Note that there is also a daily dist-tarball available at
http://littletux.homelinux.org/log4cxx/

Best Regards,

	Andreas

Adams Christian wrote:
> > Hello,
> >
> > I use log4cxx and now would like to use the SocketAppender. But I found
> > that some code is commented out or disabled with #if 0 ... #endif.
> > Also I found that the reason for this is the change from hard coded char
> > to logchar which could be char or wchar_t.
> > Also I found that mainly socketinputstream.cpp has to be fixed to get
> > socketappender runing. Is that correct?

afester | 16 Sep 2006 10:55
Picon
Favicon

svn commit: r446836 - in /logging/log4cxx/trunk: COPYING configure.in

Author: afester
Date: Sat Sep 16 01:55:51 2006
New Revision: 446836

URL: http://svn.apache.org/viewvc?view=rev&rev=446836
Log:
LOGCXX-62: Change version to 0.10.0, refer to LICENSE file instead of 
license.apl

Modified:
    logging/log4cxx/trunk/COPYING
    logging/log4cxx/trunk/configure.in

Modified: logging/log4cxx/trunk/COPYING
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/COPYING?view=diff&rev=446836&r1=446835&r2=446836
==============================================================================
--- logging/log4cxx/trunk/COPYING (original)
+++ logging/log4cxx/trunk/COPYING Sat Sep 16 01:55:51 2006
 <at>  <at>  -1 +1  <at>  <at> 
-See license.apl
+See LICENSE

Modified: logging/log4cxx/trunk/configure.in
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/configure.in?view=diff&rev=446836&r1=446835&r2=446836
==============================================================================
--- logging/log4cxx/trunk/configure.in (original)
+++ logging/log4cxx/trunk/configure.in Sat Sep 16 01:55:51 2006
 <at>  <at>  -14,7 +14,7  <at>  <at> 
 #  ? :+1 : ?   == just some internal changes, nothing breaks but might work
 #                 better
(Continue reading)

afester | 18 Sep 2006 22:06
Picon
Favicon

svn commit: r447530 - /logging/log4cxx/trunk/configure.in

Author: afester
Date: Mon Sep 18 13:06:03 2006
New Revision: 447530

URL: http://svn.apache.org/viewvc?view=rev&rev=447530
Log:
LOGCXX-43: Added configure option --enable-wchar_t to allow manual
disabling of the wchar_t interfaces on systems which do not support
a __STDC_ISO_10646__ wchar_t implementation.

Modified:
    logging/log4cxx/trunk/configure.in

Modified: logging/log4cxx/trunk/configure.in
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/configure.in?view=diff&rev=447530&r1=447529&r2=447530
==============================================================================
--- logging/log4cxx/trunk/configure.in (original)
+++ logging/log4cxx/trunk/configure.in Mon Sep 18 13:06:03 2006
 <at>  <at>  -324,11 +324,18  <at>  <at> 
 CPPFLAGS="-DLOG4CXX $CPPFLAGS"

 #for wchar_t
-AC_MSG_CHECKING([for wchar_t])
-AC_COMPILE_IFELSE(AC_LANG_SOURCE([[
-           #include <string>
-           std::wstring w;]]), [have_wchar_t=yes], [have_wchar_t=no])
-AC_MSG_RESULT($have_wchar_t)
+AC_ARG_ENABLE(wchar_t,
+        AC_HELP_STRING(--enable-wchar_t,
+	        [enable wchar_t interfaces (auto)]))
(Continue reading)

Jens Hannemann | 22 Sep 2006 18:31
Picon

Handling failure in log4cxx::PropertyConfigurator::configure()

Hi folks,

I recently started using log4cxx (from the svn trunk). Thanks for the great 
work. It is easily the most featureful logging framework out there, althout 
the Java legacy makes it somewhat awkward to use in the C++ world.

I wanted to be able to run my executables with different log configuration 
files for different tasks such as performance evaluation or debugging, and 
thus wanted to be able to pass the configuration file name to use as a 
command line option. The problem is that there is no mechanism in the 
log4cxx::PropertyConfigurator::configure() method that allows me to check for 
failure of the configuration. If the file cannot be read or is malformed, 
I'll get an error message to the console but nothing else. So I checked the 
source code and saw that the doConfigure method actually uses exceptions 
(albeit is not exception-safe) but chooses to not let the exception propagate 
up the call stack to let the user handle it (which is one of the main reasons 
for using exceptions in the first place). So I decided to remove the 
try-catch blocks from the code so I could handle the exceptions myself like 
this:

try{
  // try to configure the logger with the given filename
  // if the file could not be processed, we'll get an exception
  // CAUTION: This relies on a patch to the
  //          propertyconfigurator.cpp file of log4cxx
  log4cxx::PropertyConfigurator::configure(log_cfg_filename);
} 
catch (std::exception &e){
  // do nothing, stay with default
}
(Continue reading)


Gmane