Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[volttron-dev] Logging level
  • From: "Allwardt, Craig H" <Craig.Allwardt@xxxxxxxx>
  • Date: Fri, 15 Mar 2024 20:51:59 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=pnnl.gov; dmarc=pass action=none header.from=pnnl.gov; dkim=pass header.d=pnnl.gov; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0fVhNhs7E/HR9tCQc72qprWNLgdZt9W9WtJ/9XFwsUA=; b=Xp8bg5Zed0r/81tlx+6YJtvWOVBQGIjJWXn9dZnz8JJPRmnzzoy2tAlarkAkh+Gkfv/qSr8rsnjZqREFnvmNjtalwm90kWJ7uouuwEMUqoGfYPXQcisBJDZMjC/pdMjKJsVoEhokQBPn9Yro5L2xxagdDLwTM1uBQjchkHpVpnEONBzwLgzeNuez8eXMWQZrx4M9PH2rNA3XBClXOlPzJH1IuQUX/FWmj8gjg1DlMwqruGBhlHk0g8qQxBmG02al8QayZIQOcj0mv39dNMUzDzgu6LHNY0tiYmiXYXnKzJ1fhzNBWsNwjWyuQ9IXwegFktLdg8yEZgrxiHLggFybkQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZyikGgEmSb+/hthukAjPhIBKsLsBxyUpEQMz3piWzzli8tBKrcbj6ZL7aIdBHB9SZPwGftx27PikyEoLBDVwZEWmfgKY10YulaquBrCvaekkkjmrzUiPbdVNXh696Fmb/dMwvyJJO5Jvxxw+AkIVaLFzbZRRxSCNJCOm8Q7jK1rL1RTUOY3aJo8p64+uLxKAS/ZE6UtsrOb+AsbJ6iVi6cNapz1k5nU4tbYoHvdqmMGdpfxFy+bWJUR5OSJ8QC7VqY/cJYkvs0SAhnpGleSD3DdFhnCp8xfVIEQzVOCDs83cCLqcrF0AIP4ELTDWjW2tJvE9M3eFTEX4JMMgZpxosg==
  • Delivered-to: volttron-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/volttron-dev/>
  • List-help: <mailto:volttron-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/volttron-dev>, <mailto:volttron-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/volttron-dev>, <mailto:volttron-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adp3GVkCPLWPEhX9STqHyjUk6a+QNw==
  • Thread-topic: Logging level

All,

 

Python includes the following logging level

 

5 CRITICAL or FATAL

4 ERROR

3 WARNING or WARN

2 INFO

1 DEBUG

 

The lower the number the more logging you get.  Currently in Monolithic volttron (VOLTTRON/volttron) on github when you start the platform with one –verbose then you get info level, two –verbose –verbose or (-vv) you get debug level. 

 

With a production system, I would like to be able to run in WARN or ERROR mode to the main log file and potentially have a DEBUG log that rotates on a daily or more frequent nature.

 

For active debugging I would still use DEBUG, but could run the platform in INFO and then run the agents in DEBUG mode. 

 

So the long and the short of it.

 

Do you think volttron -v should be info or error?  With each additional -v getting more and more output?

 

I think this will help us better provide better message distinctions.  Please respond so that I know if this is an issue with your current platforms or not.

 

Thanks

 

Craig


Back to the top