Skip to content

Commit

Permalink
Merge pull request #4609 from FederatedAI/dev-2.0-alpha
Browse files Browse the repository at this point in the history
Update doc & submodule
  • Loading branch information
mgqa34 committed Feb 2, 2023
2 parents f101eed + dae7f39 commit 11bbdaf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[submodule "eggroll"]
path = eggroll
url = https://github.com/WeBankFinTech/eggroll
branch = dev-2.5.0-alpha
branch = v2.5.0-alpha
[submodule "fate_client"]
path = fate_client
url = https://github.com/FederatedAI/FATE-Client
branch = dev-2.0-alpha
branch = v2.0.0-alpha
[submodule "fate_flow"]
path = fate_flow
url = https://github.com/FederatedAI/FATE-Flow
branch = dev-2.0-alpha
branch = v2.0.0-alpha
4 changes: 2 additions & 2 deletions doc/2.0/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### 文档索引
- [FATE V2.0 Quick Start](./quick_start.md)
- [FATE Flow V2.0 Quick Start](https://github.com/FederatedAI/FATE-Flow/blob/dev-2.0-alpha/doc/quick_start.md)
- [FATE FLOW V2.0 方案](https://github.com/FederatedAI/FATE-Flow/blob/dev-2.0-alpha/doc/2.0.0-alpha.md)
- [FATE Flow V2.0 Quick Start](https://github.com/FederatedAI/FATE-Flow/blob/v2.0.0-alpha/doc/quick_start.md)
- [FATE FLOW V2.0 方案](https://github.com/FederatedAI/FATE-Flow/blob/v2.0.0-alpha/doc/2.0.0-alpha.md)
- [OSX方案](./osx/osx.md)
2 changes: 1 addition & 1 deletion eggroll
2 changes: 1 addition & 1 deletion fate_client
18 changes: 5 additions & 13 deletions python/fate/components/spec/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,13 @@ def add_file_handler(
level,
formater="brief",
filters=[],
max_bytes=102400,
backup_count=3,
):
handlers[name] = {
"class": "logging.handlers.RotatingFileHandler",
"class": "logging.FileHandler",
"level": level,
"formatter": formater,
"filters": filters,
"filename": filename,
"maxBytes": max_bytes,
"backupCount": backup_count,
"filename": filename
}

# add root logger
Expand Down Expand Up @@ -151,18 +147,14 @@ def add_file_handler(
filename,
level,
formater="brief",
filters=[],
max_bytes=102400,
backup_count=3,
filters=[]
):
handlers[name] = {
"class": "logging.handlers.RotatingFileHandler",
"class": "logging.FileHandler",
"level": level,
"formatter": formater,
"filters": filters,
"filename": filename,
"maxBytes": max_bytes,
"backupCount": backup_count,
"filename": filename
}

# add root logger
Expand Down

0 comments on commit 11bbdaf

Please sign in to comment.