proxmox-rest-server: improve docs

And rename enable_file_log to enable_access_log.
This commit is contained in:
Dietmar Maurer
2021-09-30 11:59:21 +02:00
parent 2e44983a37
commit 0d5d15c9d1
6 changed files with 56 additions and 15 deletions

View File

@ -85,7 +85,7 @@ async fn run() -> Result<(), Error> {
let dir_opts = CreateOptions::new().owner(backup_user.uid).group(backup_user.gid);
let file_opts = CreateOptions::new().owner(backup_user.uid).group(backup_user.gid);
config.enable_file_log(
config.enable_access_log(
pbs_buildcfg::API_ACCESS_LOG_FN,
Some(dir_opts.clone()),
Some(file_opts.clone()),

View File

@ -192,7 +192,7 @@ async fn run() -> Result<(), Error> {
let dir_opts = CreateOptions::new().owner(backup_user.uid).group(backup_user.gid);
let file_opts = CreateOptions::new().owner(backup_user.uid).group(backup_user.gid);
config.enable_file_log(
config.enable_access_log(
pbs_buildcfg::API_ACCESS_LOG_FN,
Some(dir_opts.clone()),
Some(file_opts.clone()),