开云体育

Re: Logging configuration (or trying to get Withrottle to be quieter) #logging


 

Tim,

It is the settings location. For Windows, that is C:\Users\<username\JMRI.

Dave Sand

----- Original message -----
From: "tdc via groups.io" <tim.d.childs@...>
To: [email protected]
Subject: [jmriusers] Logging configuration (or trying to get Withrottle to be quieter)
Date: Saturday, February 22, 2025 4:50 PM

WiThrottle likes to spam my system console with irrelevant INFO messages
and I'd like to quiet it down.

I've found PanelPro -> Debug -> Display/Edit Log Categories and can
change jmri.jmrit.withrottle.DeviceServer to WARN but this is only good
for the session.

says "A
"default_lcf.xml" file in the User Settings directory will take
precedence over the default_lcf.xml file in the main program directory.
The main program directory version will be reset each time JMRI is
updated, whereas the user preference version will not be updated."

According to Help -> File Locations there isn't a User Settings
location; there is a 'User Files' location, and there's a 'Settings'
location. Which one is it?

Second question - is this an adequate default_lcf.xml file assuming I
can figure out where to put it:

<?xml version="1.0" encoding="UTF-8"?>
<!--
# default_lcf.xml
-->
<Configuration status="INFO">
<Loggers>
# Minimise WiThrottle noise tdc 2025-02-22 13:52
<Logger name="jmri.jmrit.withrottle.DeviceServer" level="WARN">
</Loggers>
</Configuration>


Thanks much.
--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org

Join [email protected] to automatically receive all group messages.