Closed jasonfleming closed 1 year ago
For these kinds of things we need to be very specific. Can we be specific about what part we wish to improve? Fielding concerns from users about it being "too verbose" or "too chatty" or whatever should be met with some friendly resistence and a challenge for them to suggest some reasonable behavior. So I guess I am saying, I am skeptical this is actionable and would sooner close this with a "will not fix" than waste time trying to mess around with it.
Specifically, the transmission of the JSON status messages that go out every 1 minute are being logged to $SYSLOG
(the transmission of the status messages is logged, not the status itself). These log messages are important, but mainly in the case of something going wrong with the transport mechanism, i.e., they are DEBUG
level messages for scp
issues. I'm pretty sure these log messages are emitted by opendap_post2.sh
. Can we improve the signal-to-noise ratio in $SYSLOG
by redirecting these particular DEBUG
messages to a different log file?
Thank you for clarifying. I'll keep an eye for this as I get things going for the season. When needed, you really need to be able to go to 1 or 2 places to see what breaks in real time for debugging/troubleshooting purposes or verify that what is happening is expected to be happening.
Yes there is a tradeoff here. I have a few ideas on how to address it. I consider it my responsibility to implement a solution for review.
Will be part of #1156
Definitions of Logs and Log Scopes
asgs_main.sh
asgs_main.sh
type things (important subsystems, but not every little thing)opendap_post2.log
)
The writing of messages to the ASGS log file has become excessive to the point that the signal-to-noise ratio has become very low. In particular, the log messages produced by copying files to an external server (usually via
output/opendap_post2.sh
and especially for frequently updated status messages) are burdensome. The low-impact messages are still important, but should be diverted to a different log file.