Re: Logging project specific information
Jeffrey Fredrick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Is your class using log4j directly? If so I think there are a few options: 1) you could use an email appender and have your class email you directly 2) you can using an xml file appender then have that xml file merged into the cruisecontrol log so that you could use it in your email & web pages 3) you could use a file appender and the create a custom version of the htmlemail publisher that would pick up your file when it runs. Jtf On Tue, Jun 23, 2009 at 4:53 AM, Pradip Caulagi <[email protected]> wrote: > Hello, > > In my cruisecontrol configuration, I am executing a java class using > ant. The java class logs messages using org.apache.log4j.Logger. > Once the ant task completes, cc sends a mail. However, in the mail, I > want to include some of the messages I have logged. Currently, the cc > log contains messages with > > <message priority="info"> ... <message> and it is not possible to > obtain the information I am want to include in the mail. > > What would be the recommended way to achieve this? > > thanks, > > Pradip > > -- CITCON Continuous Integration and Testing Conference http://www.citconf.com/ ------------------------------------------------------------------------------ _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user