Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" for change notification.
The following page has been changed by Mikko Ohtamaa: http://wiki.apache.org/jakarta-jmeter/BuildingPlugInWithEclipse The comment on the change is: Made logging + jmeter.properties better ------------------------------------------------------------------------------ logManager = new LoggingManager(); } - /* This following code caused me to lost 3 hours of working time - * and now I am extra frustrated - setFormat(properties); + + setPriority(properties.getProperty(LOG_PRIORITY, "INFO")); + + // Direct to system out + + isWriterSystemOut = true; + isTargetSystemOut = true; + + WriterTarget wt = new WriterTarget(new OutputStreamWriter(System.out), getFormat()); + Hierarchy.getDefaultHierarchy().setDefaultLogTarget(wt); + + setLoggingLevels(properties); + + /* // Set the top-level defaults setTarget(makeWriter(properties.getProperty(LOG_FILE, "jmeter.log"), LOG_FILE)); @@ -55, +66 @@ setLoggingLevels(properties); // now set the individual categories (if any) - * - */ - setConfig(properties);// Further configuration + setConfig(properties);// Further configuration*/ - } }}} @@ -82, +90 @@ # This is very bad since paths must be *exactly* here as they appear in Java classpath. # Hopefully this will be fixed in the future versions. Note Windows needs to escape \ character as \\. - # Add JMeter output folder and our plug-in output folder to paths from which - # plug-ins are searched - search_paths=C:\\xxx\\jmeter-trunk\\bin;. + search_paths=C:\\icecom\\jmeter-2.2\\bin;. + + # File that holds a record of name changes for backward compatibility issues + upgrade_properties=upgrade.properties + + # Should JMeter automatically load additional JMeter properties? + # File name to look for (comment to disable) + user.properties=user.properties + + # Should JMeter automatically load additional system properties? + # File name to look for (comment to disable) + system.properties=system.properties + + log_level.jorphan=WARN + + log_level.jmeter.testbeans=WARN + + log_level.jmeter.gui=WARN + + log_level.jmeter.engine.util=WARN + + log_level.jmeter.threads.util=WARN + + log_level.fi.xxx=TRACE + + # Widen default log output for Eclipse console + log_format=%-6.6{priority} (%-10.10{thread}) [%-25.25{category}] %{message} . }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
