Link to USGS home page.
USGS HOME
Contact USGS

Facebook Icon Twitter Icon
  • Assess
  • Prepare
  • Forecast
  • |
  • Activity
  • Products
  • Observatories
  • About

Software

logger2csv

logger2csv pulls records from a remote CampbellScientific data logger and creates a series of daily CSV files. The code is open source, freely available, and in the public domain.

logger2csv can be downloaded here.

Running logger2csv

% java -jar logger2csv-1.0.0.jar --help

Usage:
  java -jar gov.usgs.volcanes.logger2csv.Logger2csv [--help] [-c|--create-config]
  [-p|--persistent] [-v|--verbose] []

I am the logger2csv server


  [--help]
        Prints this help message.

  [-c|--create-config]
        Create an example config file in the curent working directory.

  [-p|--persistent]
        Run persistenly, periodically polling loggers.

  [-v|--verbose]
        Verbose logging.

  []
        The config file name. (default: logger2csv.config)

%

Logging

By default logging is sent to both STDERR and to a file named logger2csv.log. The logfile will be automatically rotated.

The log file contains more detail than is sent to STDERR. Even more verbose logging can be enabled by passing -Dlog4j.configuration=log4jDebug.properties to the JVM at startup.

Contact

For questions, please contact Tom Parker (tparker@usgs.gov).