Hi Chad,
I have a newbie question about changing log4j behavior.
I have edited the log4j.xml and set the priority value for all the
or.andromda* categories to debug. I have also set the root priority
value to "debug".
I jar up these changes and replace andromda-core.jar with them. I dont
see any additional messages. The console output I get is
[andromda] INFO [AndroMDA]
[andromda] INFO [AndroMDA] A n d r o M D A - 3.0M3-SNAPSHOT
[andormda] INFO [AndorMDA]
Any ideas on what I am doing wrong. I have attached the modified
log4j.xml file I am using.
thanks in advance,
roy
On Fri, 2004-11-05 at 10:10, Chad Brandon wrote:
> You could turn debug on (its in the log4.xml file in the andromda-core.jar)
> and see where its stopping.
>
> ----- Original Message -----
> From: "Roy Feldman" <[EMAIL PROTECTED]>
> To: "Andromda User" <[EMAIL PROTECTED]>
> Sent: Thursday, November 04, 2004 7:28 PM
> Subject: [Andromda-user] Anybody using AndroMDA on Fedora 2?
>
>
> > Hi all,
> >
> >
> > Much to my glee, I just got a new workstation and I installed Fedora 2
> > Linux. Much to my dismay, I discovered that I when I try to run the
> > AndroMDAGenTask it hangs.
> >
> > Everything works find on my "old" workstation, running Fedora 1, with a
> > 2.4 kernel with Java 1.4.
> >
> > Simple Ant files work correctly on my new machine. However, I have don't
> > believe this is a AndroMDA problem, but a problem with the Linux 2.6
> > kernel, or a at least the versions that easily available to me as a
> > Fedora 2 user.
> >
> > Is anyone successfully doing development with AndromMDA on Fedora 2, or
> > any Linux with a 2.6 kernel?
> >
> > BTW, I have tried Java 1.5 (5) as well as the latest Java 1.4, with no
> > success.
> >
> > Any help would be greatly appreciated.
> >
> >
> > cheers,
> >
> >
> > roy
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > Andromda-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
>
--
Roy Feldman
True Horizon Co. Ltd.
Software Park, 5th Floor, Incubator Center
99/30 Chaengwattana Road
Pakkred, Nonthaburi, 11120, Thailand
http://www.truehorizon.com/
Mobile: +66 (9) 777-5952
Work: +66 (2) 583-5992
USA: +1 (305) 433-7213
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- the log configuration file for the AndroMDA project -->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<!-- ====================================== -->
<!-- Append error messages to a local error log -->
<!-- ====================================== -->
<appender name="FILE" class="org.apache.log4j.FileAppender">
<param name="File" value="andromda.log"/>
<param name="Threshold" value="INFO"/>
<param name="Append" value="false"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<param name="Threshold" value="INFO"/>
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%-5p [%c{1}] %m%n"/>
</layout>
</appender>
<!-- ================ -->
<!-- Limit categories -->
<!-- ================ -->
<category name="org.apache">
<priority value="info" />
</category>
<category name="org.andromda">
<priority value="debug" />
</category>
<category name="org.andromda.core.mdr">
<priority value="debug" />
</category>
<category name="org.andromda.core.metafacade">
<priority value="info" />
</category>
<category name="org.andromda.core.translation.library.LibraryTranslation">
<priority value="debug" />
</category>
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<priority value="debug" />
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
</log4j:configuration>