Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example config lacks required [logging] field #112

Closed
zu3st opened this issue Mar 22, 2024 · 2 comments
Closed

Example config lacks required [logging] field #112

zu3st opened this issue Mar 22, 2024 · 2 comments

Comments

@zu3st
Copy link

zu3st commented Mar 22, 2024

On following the Getting-Started Guide, storing the given config and calling openwec db init as instructed fails with the following error:

```toml
# /etc/openwec.conf.toml
[server]
keytab = "/etc/wec.windomain.local.keytab"
[database]
type = "SQLite"
# You need to create /var/db/openwec yourself
path = "/var/db/openwec/db.sqlite"
[[collectors]]
hostname = "wec.windomain.local"
listen_address = "0.0.0.0"
[collectors.authentication]
type = "Kerberos"
service_principal_name = "http/wec.windomain.local@WINDOMAIN.LOCAL"
```

An error occurred: Failed to retrieve configuration: TOML parse error at line 1, column 1
  |
1 | # /etc/openwec.conf.toml
  | ^
missing field `logging`

Adding the line

[logging]

to the config resolves the issue.

@vruello
Copy link
Contributor

vruello commented Mar 25, 2024

Hi! Nice catch 😄

This has been fixed in #108 (6b0d199) which should be merged very soon.

@vruello
Copy link
Contributor

vruello commented Apr 30, 2024

#108 has been merged.

@vruello vruello closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants