forked from ome/openmicroscopy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OmeroLogging : Silencing NPEs during build
git-svn-id: file:///home/svn/omero/trunk@5502 05709c45-44f0-0310-885b-81a1db45b4a6
- Loading branch information
Showing
5 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | ||
<!-- | ||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
# | ||
# $Id$ | ||
# | ||
# Copyright 2009 Glencoe Software, Inc. All rights reserved. | ||
# Use is subject to license terms supplied in LICENSE.txt | ||
# | ||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
# Written by: Josh Moore, josh at glencoesoftware.com | ||
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Log configuration which is pointed to by the -Dlog4j.configuration setting in | ||
omero.home/build.py as well as the ant scripts in omero.home/components/ant/resources. | ||
--> | ||
|
||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true"> | ||
|
||
<appender name="PRIMARY" class="org.apache.log4j.ConsoleAppender"> | ||
<param name="Threshold" value="WARN"/> | ||
<!-- | ||
<errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%40.40c] (%10.10t) %m%n"/> | ||
</layout> | ||
--> | ||
</appender> | ||
|
||
<category name="velocity"> <priority value="FATAL"/> </category> | ||
<category name="ome"> <priority value="WARN"/> </category> | ||
|
||
<root> | ||
<appender-ref ref="PRIMARY"/> | ||
</root> | ||
|
||
</log4j:configuration> |