Skip to content

Commit

Permalink
chore: bump up version to 1.0.2 ⬆️
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex4386 committed Feb 10, 2021
1 parent 7bc6ecb commit 8b66330
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/extension/logging/customizeLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def make_logger(cls, config_path=default_config_path):
logging_config = config["logger"]

filepath = Path(logging_config["path"])
filepath.joinpath(logging_config['filename'])
filepath.mkdir(0o777, True, True)

filepath = filepath.joinpath(logging_config['filename'])

_logger = cls.customize_logging(
filepath=filepath,
Expand Down
2 changes: 1 addition & 1 deletion logging_config.json.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"logger": {
"path": "/var/logs",
"path": ".",
"filename": "x3s_access.log",
"level": "info",
"rotation": "20 days",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "XenXenXenSe"
version = "1.0.1"
version = "1.0.2"
description = "An easy-to-use HTTP API of XenAPI for Web Application Developers."
authors = [
"Alex4386 <[email protected]>",
Expand Down

0 comments on commit 8b66330

Please sign in to comment.