Changeset 15237


Ignore:
Timestamp:
2008-04-29T15:06:51+12:00 (15 years ago)
Author:
ak19
Message:

Updated to deal with log4j.properties file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/gs3-webservices-democlient/src/GS3DemoClient/org/greenstone/gs3client/GS3JavaClient.java

    r15222 r15237  
    2525//http://today.java.net/pub/a/today/2006/03/23/multi-split-pane.html)
    2626import org.apache.log4j.Logger;
     27import org.apache.log4j.PropertyConfigurator;
    2728import org.greenstone.gs3client.BrowseDisplay.ClassifierData;
    2829
     
    10521053     * an instance of the GS3JavaClient main window and makes it visible. */
    10531054    public static void main(String[] args) {
     1055            // set it up for logging
     1056        final String logPropsFile = "log4j.properties";
     1057        PropertyConfigurator.configure(logPropsFile);
     1058
    10541059        GS3JavaClient client = new GS3JavaClient();
    10551060        client.pack();
Note: See TracChangeset for help on using the changeset viewer.