-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[platform]: BFN platform modules update (#3389)
* Fixed initial state for eeprom.py and sfputil.py when thrift server is down * Added transceiver plug-in/out event processing Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
- Loading branch information
Showing
3 changed files
with
116 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
device/barefoot/x86_64-accton_wedge100bf_32x-r0/plugins/logging.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 1 | ||
disable_existing_loggers: False | ||
|
||
formatters: | ||
simple: | ||
format: '%(asctime)s %(name)-30s %(levelname)-7s %(message)s' | ||
|
||
handlers: | ||
file: | ||
class: logging.handlers.RotatingFileHandler | ||
formatter: simple | ||
filename: /var/log/platform.log | ||
|
||
root: | ||
level: ERROR | ||
handlers: | ||
- file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters