Skip to content

Commit

Permalink
fix option name
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Dec 15, 2024
1 parent fc7c50b commit 5f79b08
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Improve: log important module versions on startup
* Improve: auth.ldap config shown on startup, terminate in case no password is supplied for bind user
* Add: option [auth] uc_username for uppercase conversion (similar to existing lc_username)
* Add: option [debug] storage_cache_action for conditional logging
* Add: option [logging] storage_cache_action_on_debug for conditional logging
* Fix: set PRODID on collection upload (instead of vobject is inserting default one)
* Add: option [storage] use_mtime_and_size_for_item_cache for changing cache lookup from SHA256 to mtime_ns + size
* Fix: buggy cache file content creation on collection upload
Expand Down
4 changes: 2 additions & 2 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -1180,9 +1180,9 @@ Log rights rule which doesn't match on level=debug

Default: `False`

##### #storage_cache_actions
##### storage_cache_actions_on_debug

Log storage cache actions
Log storage cache actions on level=debug

Default: `False`

Expand Down
4 changes: 2 additions & 2 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@
# Log rights rule which doesn't match on level=debug
#rights_rule_doesnt_match_on_debug = False

# Log storage cache actions
#storage_cache_actions = False
# Log storage cache actions on level=debug
#storage_cache_actions_on_debug = False

[headers]

Expand Down
2 changes: 1 addition & 1 deletion radicale/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def json_str(value: Any) -> dict:
"value": "False",
"help": "log rights rules which doesn't match on level=debug",
"type": bool}),
("storage_cache_actions", {
("storage_cache_actions_on_debug", {
"value": "False",
"help": "log storage cache action on level=debug",
"type": bool}),
Expand Down
2 changes: 1 addition & 1 deletion radicale/storage/multifilesystem/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(self, configuration: config.Configuration) -> None:
self._folder_umask = configuration.get(
"storage", "folder_umask")
self._debug_cache_actions = configuration.get(
"logging", "storage_cache_actions")
"logging", "storage_cache_actions_on_debug")

def _get_collection_root_folder(self) -> str:
return os.path.join(self._filesystem_folder, "collection-root")
Expand Down

0 comments on commit 5f79b08

Please sign in to comment.