Issue Details (XML | Word | Printable)

Key: GDS-165
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Franck Wolff
Reporter: Franck Wolff
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GraniteDS

Make log4j dependency optional

Created: 05/Aug/08 03:55 PM   Updated: 26/Aug/08 02:55 PM   Resolved: 05/Aug/08 04:05 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.0_RC4

Issue Links:
Dependent
 


 Description  « Hide
GDS should rely on log4j and allow alternate logging systems.

Franck Wolff added a comment - 05/Aug/08 04:05 PM
New implementation uses log4j if available and switch to java.util.logging otherwise.

It is also possible to specify a startup variable: -Dorg.granite.logger.impl=path.to.MyLogger.
Note that MyLogger must extend org.granite.logging.Logger and have a public constructor with this signature:
public MyLogger(String name, LoggingFormatter formatter).