Enter a ZIP code to get a forecast:
Setup Location

WRN Logo

Resource: log_file

Resource log_file
Command Line -lf=filename
Environment Variable wxplog
Default Value ingest.log

The log file is where the ingest program records all its essential information.  Since, the ingestor is often run without screen output, there has to be a way of recording when the ingest starts, stops, when bad or unknown products occur, etc.

This resource specifies the name of the log file.  This defaults to "ingest.log" but often is set to a unique filename based on the ingest type such as "ddplus.log".  If a relative filename is given, the value of the file_path resource is prepended to the filename.

All entries in the log file are time stamped.  Here is a sample:

97 JAN 6  05:27:50Z : Starting ingest on: /dev/tty3
97 JAN 6  05:27:50Z : Setting up com port: 19200 baud
97 JAN 6  05:30:45Z : CRC Checksum Error: YUQE15 KWBC 060000
97 JAN 6  05:33:52Z : CRC Checksum Error: HTPF70 KWBC 060000
97 JAN 6  05:35:07Z : CRC Checksum Error: HTKF20 KWBC 060000

The log file name can contain name convention wildcard characters such as "/usr/wxp/logs/noaa-%m%d.log" where the %m and %d are replaced with the month and day so that log files are generated for each day the ingestor is running.

For further information about WXP, email technical-support@weather.unisys.com
Last updated by Dan Vietor on July 30, 1998