forked from pentaho/mondrian
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MONDRIAN: Replace the simple logger, mondrian/olap/Log.java, with log4j.
The abstract base classes define the method: protected abstract Logger getLogger(); which is defined in derived classes thus allowing the base class to use the derived class' logger. The CmdRunner now allow the querying and setting of log4j loggers. The log4j.properties is an example log4j configuration file. To use it one must define the system property, log4j.configuration, with the url of the file, i.e., log4j.configuration=file://$MONDRIAN_HOME/log4j.properties [git-p4: depot-paths = "//open/mondrian/": change = 3271]
- Loading branch information
Richard Emberson
committed
Mar 1, 2005
1 parent
0957f35
commit d0f3c8e
Showing
21 changed files
with
237 additions
and
377 deletions.
There are no files selected for viewing
Binary file not shown.
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,19 @@ | ||
# | ||
# Example log4j properties file | ||
# | ||
# $Id$ | ||
# | ||
# Set root logger level to DEBUG and its only appender to MONDRIAN. | ||
log4j.rootLogger=WARN, MONDRIAN | ||
|
||
# MONDRIAN is set to be a ConsoleAppender. | ||
log4j.appender.MONDRIAN=org.apache.log4j.ConsoleAppender | ||
|
||
# MONDRIAN uses PatternLayout. | ||
log4j.appender.MONDRIAN.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.MONDRIAN.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n | ||
|
||
|
||
|
||
# Example of setting on a class basis | ||
#log4j.category.mondrian.rolap.RolapCube=DEBUG, MONDRIAN |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.