|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
c3p0 logging with tomcatHello,
I'm trying to set up c3p0 logging to default system.err. I created a properties file (mchange-log.properties) and put it in WEB-INF/classes/ with the following configuration parameters: com.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL=ALL I can't see any logging to the system.err, I only see the following error log4j:WARN No appenders could be found for logger (com.mchange.v2.log.MLog). log4j:WARN Please initialize the log4j system properly. I think he doesn't recognizes the properties file and switches to default (log4j). Somebody had this problem before? Thanks! Ward ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ c3p0-users mailing list c3p0-users@... https://lists.sourceforge.net/lists/listinfo/c3p0-users |
|
|
Re: c3p0 logging with tomcathi,
WEB-INF/classes is may not where you want this (mchange- log.properties) file. where did you put your c3p0 jar file? smiles, Steve On Aug 7, 2009, at 2:42 AM, Ward Loockx wrote: > Hello, > > I'm trying to set up c3p0 logging to default system.err. I created a > properties file (mchange-log.properties) and put it in WEB-INF/ > classes/ > with the following configuration parameters: > > com.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog > com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL=ALL > > I can't see any logging to the system.err, I only see the following > error > log4j:WARN No appenders could be found for logger > (com.mchange.v2.log.MLog). > log4j:WARN Please initialize the log4j system properly. > > I think he doesn't recognizes the properties file and switches to > default (log4j). > > Somebody had this problem before? > > Thanks! > Ward > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > c3p0-users mailing list > c3p0-users@... > https://lists.sourceforge.net/lists/listinfo/c3p0-users ~oo~ Steve Waldman swaldman@... ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ c3p0-users mailing list c3p0-users@... https://lists.sourceforge.net/lists/listinfo/c3p0-users |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |