Unidata / LDM

The Unidata Local Data Manager (LDM) system includes network client and server programs designed for event-driven data distribution, and is the fundamental component of the Unidata Internet Data Distribution (IDD) system.
http://www.unidata.ucar.edu/software/ldm
Other
43 stars 27 forks source link

ldmadmin newlog does not rotate log files when LDM is used as a NOAAport ingester #116

Closed sebenste closed 1 year ago

sebenste commented 1 year ago

Hello Stonie and Steve,

If I have a NOAAport ingest server running the LDM, it is recommended that I use nwstg.log, nwstg2.log, etc...a different log file for each of the product ID's. The problem is that when this is done, using "ldmadmin newlog" in crontab only the ldmd.log file gets rotated, not the other ones. The LDM should know that the log files are active and should be rotated. This caused a problem on one of our NOAAport servers where the log wasn't rotated for 3 years since install.

Thanks!

Gilbert

semmerson commented 1 year ago

Yeah. We haven't gotten around to rotating the idiosyncratic log files in the LDM configuration-file: only the standard LDM log file is rotated by "ldmadmin newlog".

You can use the newlog(1) script in crontab(1) entries to rotate these files. If you do, don't forget to invoke refresh_logging(1) at the end.