bruce_np | 1 Feb 2006 16:33
Picon

help: RollingFileAppender (xml configuration?)

I have a short question:

is the RollingFileAppender still not working - or am I just unable to  
configure it propperly?

I compiled the latest log4cxx from svn and used the following xml  
configuration:

   <appender name="RootFileApp" class="RollingFileAppender">
      <param name="File" value="log_root.txt" />
      <param name="append" value="false" />
      <param name="MaxFileSize" value="10KB" />
      <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern"  value="%d[%t] %-5p %c %x - %m %n"/>
     </layout>
   </appender>

The file always got 90KB big.....

Any suggestions?

Best regards
ML

Ron Ohmer | 7 Feb 2006 00:07

Easy way to turn off threading

How do you turn off threading in log4cxx at compile time with the ant build.xml?

Attachment (winmail.dat): application/ms-tnef, 2836 bytes
Steindl Christian | 7 Feb 2006 09:14
Picon

AW: help: RollingFileAppender (xml configuration?)

The RollingFileAppender options has changed since 0.9.7. You have to configure policies too. check also
http://issues.apache.org/jira/browse/LOGCXX-102 for similar configuration with properties file.

Greetz
Christian

> -----Ursprüngliche Nachricht-----
> Von: bruce_np <at> sbox.tugraz.at [mailto:bruce_np <at> sbox.tugraz.at] 
> Gesendet: Mittwoch, 01. Februar 2006 16:34
> An: Log4CXX User
> Betreff: help: RollingFileAppender (xml configuration?)
> 
> I have a short question:
> 
> is the RollingFileAppender still not working - or am I just 
> unable to configure it propperly?
> 
> I compiled the latest log4cxx from svn and used the following xml
> configuration:
> 
>    <appender name="RootFileApp" class="RollingFileAppender">
>       <param name="File" value="log_root.txt" />
>       <param name="append" value="false" />
>       <param name="MaxFileSize" value="10KB" />
>       <layout class="org.apache.log4j.PatternLayout">
>         <param name="ConversionPattern"  value="%d[%t] %-5p 
> %c %x - %m %n"/>
>      </layout>
>    </appender>
> 
(Continue reading)

thomas.hawker | 8 Feb 2006 00:59

Available VC7 Sources

Is there an available Windows Visual Studio .NET ZIP file that I can access to download the latest CVS head?  It appears that I can’t use SVN – we seem to be unable to access it except through the web browser (probably a proxy problem).

 

Tom Hawker

OOCL (USA), Inc.

Senior Framework Developer

Home      408–274–4128

Office      408–576–6591

Mobile    408–835–3643

 


IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this communication is free of viruses, interception or interference and anyone who communicates with us by email is taken to accept the risks in so doing. Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this email. Under no circumstances shall this email constitute a binding agreement to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and conditions of OOCL's standard bill of lading which is also available at http://www.oocl.com.
Stephane Hamel | 8 Feb 2006 15:51

RE: Available VC7 Sources

Hello Tom,

I checked out the CVS HEAD on February 3. I can zip it and send it to you.

I'm also a .net 2005 user, but I compiled log4cxx using Ant because the CVS
head doesn't come with a visual solution. However, the Ant worked fine with
me.

Once you unzip the log4cxx, look in the file log4cxx\INSTALL for
dependencies you must download. It took me a while to figure out where to
find the dependencies. I can also send you those in the zip file. It took me
2 days to build a compiling environnement for Ant.

When all dependencies are installed, just type the following command from
the command shell to compile log4cxx with .net compiler. The output will be
in the log4cxx\build\debug\shared.

$>ant -Dcompiler=msvc -Ddebug=true build

You can also compile the test routines and perform the tests, but that
doesn't work well for me yet.

Also, during compilation, I have hundreds of warnings...

Regards,

Steph

-----Original Message-----
From: thomas.hawker <at> oocl.com [mailto:thomas.hawker <at> oocl.com]
Sent: February 7, 2006 6:59 PM
To: log4cxx-user <at> logging.apache.org
Subject: Available VC7 Sources

Is there an available Windows Visual Studio .NET ZIP file that I can access
to download the latest CVS head?  It appears that I can't use SVN - we seem
to be unable to access it except through the web browser (probably a proxy
problem).

Tom Hawker

OOCL (USA), Inc.

Senior Framework Developer

  _____  

Home      408-274-4128

Office      408-576-6591

Mobile    408-835-3643

IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not
intended for you, please delete it immediately unread. The internet cannot
guarantee that this communication is free of viruses, interception or
interference and anyone who communicates with us by email is taken to accept
the risks in so doing. Without limitation, OOCL and its affiliates accept no
liability whatsoever and howsoever arising in connection with the use of
this email. Under no circumstances shall this email constitute a binding
agreement to carry or for provision of carriage services by OOCL, which is
subject to the availability of carrier's equipment and vessels and the terms
and conditions of OOCL's standard bill of lading which is also available at
http://www.oocl.com.

Attachment (winmail.dat): application/ms-tnef, 11 KiB
Diego Susa | 8 Feb 2006 16:19
Picon

Compiler's support question

Hi:
I've tried log4cxx a year or so ago, because I wanted to use it in my project.
By that time I couldn't fill my needs of compiler support, even using the CVS HEAD. Now I'm going to give it
another try in order to see if it fits.
I'm very excited about using it in my project because I'm actually using a propietary log system; but I
definitely believe that a library like is the way to go on common topics like logging.

What I need is to compile log4cxx:

On...         With...        
Windows  ->   Borland Compiler (bcc32 v 5.6.4)
Windows  ->   MinGW (g++ v 3.2.3)
Linux    ->   GNU (g++ v 3.2.3)

Does anyone know if this combiations are supported nowadays ?
Any comment or suggestion would be of much help.

Thanks in advance.

Diego Susa
www.cestel.es

Stephane Hamel | 8 Feb 2006 19:23

Warning C4250 and C4251

Can anyone tell me if it's normal to get C4250 and C4251 warnings ?

Is it safe to ignore them w/ #pragma ?

I compiled CVS head (February 3, 2006) using Ant with the following switchs:

Ant -Dcompiler=msvc -Ddebug=true build

Beside these warnings, trival.cpp provided w/ log4cxx worked fine except
that I had to add the following line just after the #include section: using
namespace log4cxx;

Stephane Hamel
www.solvision.net
Attachment (winmail.dat): application/ms-tnef, 1664 bytes
Stephane Hamel | 8 Feb 2006 23:24

Warning C4250 and C4251

Can anyone tell me if it's normal to get C4250 and C4251 warnings ?

Is it safe to ignore them w/ #pragma ?

I compiled CVS head (February 3, 2006) using Ant with the following switchs:

Ant -Dcompiler=msvc -Ddebug=true build

Beside these warnings, trival.cpp provided w/ log4cxx worked fine except
that I had to add the following line just after the #include section: using
namespace log4cxx;

Stéphane Hamel
www.solvision.net

Stephane Hamel | 8 Feb 2006 23:55

RE: Available VC7 Sources

Just so you know, Andreas Fester sent an interresting email on 2005-11-17.
Check the link below to get log4cxx CVS head zip file. You will also find
updated documentation there.

http://www.littletux.net/log4cxx <http://www.littletux.net/log4cxx> 

-----Original Message-----
From: Stephane Hamel [mailto:shamel <at> solvision.net]
Sent: February 8, 2006 9:52 AM
To: 'Log4CXX User'
Subject: RE: Available VC7 Sources

Hello Tom,

I checked out the CVS HEAD on February 3. I can zip it and send it to you.

I'm also a .net 2005 user, but I compiled log4cxx using Ant because the CVS
head doesn't come with a visual solution. However, the Ant worked fine with
me.

Once you unzip the log4cxx, look in the file log4cxx\INSTALL for
dependencies you must download. It took me a while to figure out where to
find the dependencies. I can also send you those in the zip file. It took me
2 days to build a compiling environnement for Ant.

When all dependencies are installed, just type the following command from
the command shell to compile log4cxx with .net compiler. The output will be
in the log4cxx\build\debug\shared.

$>ant -Dcompiler=msvc -Ddebug=true build

You can also compile the test routines and perform the tests, but that
doesn't work well for me yet.

Also, during compilation, I have hundreds of warnings...

Regards,

Steph

-----Original Message-----
From: thomas.hawker <at> oocl.com [mailto:thomas.hawker <at> oocl.com]
Sent: February 7, 2006 6:59 PM
To: log4cxx-user <at> logging.apache.org
Subject: Available VC7 Sources

Is there an available Windows Visual Studio .NET ZIP file that I can access
to download the latest CVS head?  It appears that I can't use SVN - we seem
to be unable to access it except through the web browser (probably a proxy
problem).

Tom Hawker

OOCL (USA), Inc.

Senior Framework Developer

  _____  

Home      408-274-4128

Office      408-576-6591

Mobile    408-835-3643

IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not
intended for you, please delete it immediately unread. The internet cannot
guarantee that this communication is free of viruses, interception or
interference and anyone who communicates with us by email is taken to accept
the risks in so doing. Without limitation, OOCL and its affiliates accept no
liability whatsoever and howsoever arising in connection with the use of
this email. Under no circumstances shall this email constitute a binding
agreement to carry or for provision of carriage services by OOCL, which is
subject to the availability of carrier's equipment and vessels and the terms
and conditions of OOCL's standard bill of lading which is also available at
http://www.oocl.com.

Attachment (winmail.dat): application/ms-tnef, 12 KiB
Diego Susa | 9 Feb 2006 11:05
Picon

Compiler/Platform support

[I'm re-posting this cause it was delivered to a different thread in the list than it was intended.]

Hi:

I've tried log4cxx a year or so ago, because I wanted to use it in my project.
By that time I couldn't fill my needs of compiler support, even using the CVS HEAD. Now I'm going to give it
another try in order to see if it fits.
I'm very excited about using it in my project because I'm actually using a propietary log system; but I
definitely believe that a library like is the way to go on common topics like logging.

What I need is to compile log4cxx:

On...         With...       
Windows  ->   Borland Compiler (bcc32 v 5.6.4)
Windows  ->   MinGW (g++ v 3.2.3)
Linux    ->   GNU (g++ v 3.2.3)

Does anyone know if this combinations are supported nowadays ?
Any comment or suggestion would be of much help.

Thanks in advance.

Diego Susa
www.cestel.es


Gmane