Main > Programming > Libraries >

Craftsman Spy 1.0.5

Craftsman Spy 1.0.5

Sponsored Links

Craftsman Spy 1.0.5 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.37 MB
Platform: Any Platform
License: LGPL (GNU Lesser General Public License)
Price:
Downloads: 1414
Date added: 2005-12-13
Publisher: Craftsman

Craftsman Spy 1.0.5 description

Craftsman Spy is a an open source and free framework for JDBC logging. Craftsman Spy is a JDBC driver implementation.

This logger logs all SQL connection and processings with execution spent time, all the stored procedures with arguments, all the batch processings and the result sets.

No need to modify your application in order to integrate JDBC logging with Craftsman Spy. The application MUST use the craftsman.spy.SpyDriver and MUST be launched with the -Dspy.driver=... system property.

Be carefull this JDBC driver SHOULD not be used in production mode. Use it only in development or pre-production system.

,b>Usage:

Code

The two solutions can be used as the following examples :
System.setProperty("spy.driver","vendor.database.Driver");// or with the -Dspy.driver=vendor.database.Driver JVM option
Class.forName("craftsman.spy.SpyDriver");
Connection c = DriverManager.getConnection("jdbc:database:mydata");
Class.forName("craftsman.spy.SpyDriver");
Connection c = DriverManager.getConnection("jdbc:spy:vendor.database.Driver:database:mydata");

Log configuration

The log4j.properties or log4j.xml configuration file SHOULD contain the following lines :
log4j.category.craftsman.spy=DEBUG, SpyFile
log4j.appender.SpyFile=org.apache.log4j.DailyRollingFileAppender
log4j.appender.SpyFile.DatePattern=.yyyy.MM.dd
log4j.appender.SpyFile.File=spy.log
log4j.appender.SpyFile.layout=org.apache.log4j.PatternLayout
log4j.appender.SpyFile.layout.ConversionPattern=%m%n

Craftsman Spy 1.0.5 Screenshot

Advertisements

Craftsman Spy 1.0.5 Keywords

Bookmark Craftsman Spy 1.0.5

Hyperlink code:
Link for forum:

Craftsman Spy 1.0.5 Copyright

WareSeeker periodically updates pricing and software information of Craftsman Spy 1.0.5 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Craftsman Spy 1.0.5 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
FFTscope is a nice visualization plugin for the AlsaPlayer. Free Download
ColorSnatch is a cross-platform GUI board game. Free Download
SiteSays enables you to post and view comments about sites while surfing. Free Download
BitAnarch provides a BitTorrent client with many useful features and reduced resource usage. Free Download
Header Spy is an extension which shows HTTP headers on statusbar. Free Download
Jinamp is primarily a music shuffler for command line junkies. Free Download
cpp2html is a tool which can view C preprocessing as hypertext. Free Download
java-diff is a set of Java classes which implement the longest common subsequences algorithm. Free Download